SunSamba
From My Admin Page
Links
- Enabling Browsing with Samba in Solaris 10 Update 4
- Winbind: Use of Domain Accounts
- Samba with ZFS
- Samba meets ZFS (includes Autocreating ZFS Home Directories)
Notes
- Joining samba server to PDC Domain:
/usr/sfw/sbin/net ads join -U Administrator verify by: /usr/sfw/sbin/net ads info
- Get unified list of local & PDC users / Groups:
/usr/bin/getent passwd /usr/bin/getent group
- Set winbind authentication
/usr/sfw/bin/wbinfo --set-auth-user=<user>%<passwd>
- Testing Winbind
/usr/sfw/bin/wbinfo -u (list users on PDC) /usr/sfw/bin/wbinfo -g (list groups on PDC) wbinfo syntax: wbinfo usage: [OPTION...] -u, --domain-users Lists all domain users -g, --domain-groups Lists all domain groups -N, --WINS-by-name=NETBIOS-NAME Converts NetBIOS name to IP -I, --WINS-by-ip=IP Converts IP address to NetBIOS name -n, --name-to-sid=NAME Converts name to sid -s, --sid-to-name=SID Converts sid to name -R, --lookup-rids=RIDs Converts RIDs to names -U, --uid-to-sid=UID Converts uid to sid -G, --gid-to-sid=GID Converts gid to sid -S, --sid-to-uid=SID Converts sid to uid -Y, --sid-to-gid=SID Converts sid to gid --allocate-uid Get a new UID out of idmap --allocate-gid Get a new GID out of idmap -t, --check-secret Check shared secret -m, --trusted-domains List trusted domains --all-domains List all domains (trusted and own domain) --own-domain List own domain --sequence Show sequence numbers of all domains -D, --domain-info=STRING Show most of the info we have about the domain -i, --user-info=USER Get user info --group-info=GROUP Get group info -r, --user-groups=USER Get user groups --user-domgroups=SID Get user domain groups --user-sids=SID Get user group sids for user SID -a, --authenticate=user%password authenticate user --set-auth-user=user%password Store user and password used by winbindd (root only) --getdcname=domainname Get a DC name for a foreign domain --get-auth-user Retrieve user and password used by winbindd (root only) -p, --ping Ping winbindd to see if it is alive --domain=domain Define to the domain to restrict operation -K, --krb5auth=user%password authenticate user using Kerberos --separator Get the active winbind separator Help options: -?, --help Show this help message --usage Display brief usage message Common samba options: -V, --version Print version