Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # net ads testjoin
- Join is OK
- # wbinfo -i TESTAD\testuser
- TESTADtestuser:*:4294967295:4294967295:testuser:/home/TESTAD/testuser:/bin/false
- # getent passwd TESTAD\testuser
- # echo $?
- 2
- # smbclient //srv1/data -U TESTAD\testuser
- Enter TESTADtestuser's password:
- Domain=[TESTAD] OS=[Windows 6.1] Server=[Samba 4.2.14-Debian]
- smb: > ls
- . D 0 Fri Feb 17 16:23:04 2017
- .. D 0 Wed Feb 1 16:47:02 2017
- test.txt N 5 Fri Feb 17 14:38:21 2017
- popo D 0 Fri Feb 17 16:23:04 2017
- 117125466112 blocks of size 1024. 117052392484 blocks available
- smb: >
- [global]
- workgroup = TESTAD
- realm = TESTAD.lan
- server role = member server
- security = ADS
- map to guest = Bad User
- obey pam restrictions = Yes
- pam password change = Yes
- passwd program = /usr/bin/passwd %u
- passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
- unix password sync = Yes
- syslog = 0
- log file = /var/log/samba/log.%m
- max log size = 1000
- dns proxy = No
- usershare allow guests = Yes
- panic action = /usr/share/samba/panic-action %d
- idmap config * : backend = tdb
- inherit permissions = Yes
- inherit acls = Yes
- [DATA]
- path = /mnt/raid/
- read only = No
- guest ok = Yes
- # cat /etc/nsswitch.conf
- # /etc/nsswitch.conf
- #
- # Example configuration of GNU Name Service Switch functionality.
- # If you have the `glibc-doc-reference' and `info' packages installed, try:
- # `info libc "Name Service Switch"' for information about this file.
- passwd: compat winbind
- group: compat winbind
- shadow: compat winbind
- gshadow: files
- hosts: files mdns4_minimal [NOTFOUND=return] dns wins
- networks: files
- protocols: db files
- services: db files
- ethers: db files
- rpc: db files
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement