Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- admin@pdc:~$ testparm -s
- Load smb config files from /etc/samba/smb.conf
- rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
- Processing section "[netlogon]"
- Processing section "[sysvol]"
- Processing section "[profiles]"
- Processing section "[share]"
- Loaded services file OK.
- Server role: ROLE_ACTIVE_DIRECTORY_DC
- [global]
- workgroup = myhouse
- realm = MYHOUSE.HOME
- server string = %h server
- interfaces = eth0, lo
- server role = active directory domain controller
- map to guest = Bad User
- passdb backend = samba_dsdb
- syslog = 0
- log file = /var/log/samba/log.%m
- max log size = 1000
- preferred master = Yes
- panic action = /usr/share/samba/panic-action %d
- winbind enum users = Yes
- winbind enum groups = Yes
- winbind use default domain = Yes
- winbind nss info = rfc2307
- allow dns updates = nonsecure and secure
- dns forwarder = 192.168.1.254
- server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate, dns, smb
- dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, eventlog6, backupkey, dnsserver, winreg, srvsvc
- rpc_server:tcpip = no
- rpc_daemon:spoolssd = embedded
- rpc_server:spoolss = embedded
- rpc_server:winreg = embedded
- rpc_server:ntsvcs = embedded
- rpc_server:eventlog = embedded
- rpc_server:srvsvc = embedded
- rpc_server:svcctl = embedded
- rpc_server:default = external
- idmap config PDC:range = 500-40000
- idmap config PDC:schema_mode = rfc2307
- idmap config PDC:backend = ad
- idmap config *:range = 70001-80000
- idmap_ldb:use rfc2307 = yes
- idmap config * : backend = tdb
- hosts allow = 192.168.1.0/24, 127.
- hosts deny = ALL
- map archive = No
- map readonly = no
- store dos attributes = Yes
- vfs objects = dfs_samba4, acl_xattr
- [netlogon]
- path = /var/lib/samba/sysvol/myhouse.home/scripts
- read only = No
- [sysvol]
- path = /var/lib/samba/sysvol
- read only = No
- [profiles]
- comment = Users Profiles
- path = /home/samba/profiles
- create mask = 0600
- directory mask = 0700
- browseable = No
- [share]
- comment = Ubuntu File Server Share
- path = /srv/samba/share
- read only = No
- create mask = 0755
- guest ok = Yes
- Domain=[MYHOUSE] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]
- Sharename Type Comment
- --------- ---- -------
- netlogon Disk
- sysvol Disk
- profiles Disk Users Profiles
- share Disk Ubuntu File Server Share
- IPC$ IPC IPC Service
- Domain=[MYHOUSE] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]
- Server Comment
- --------- -------
- Workgroup Master
- --------- -------
- admin@pdc:~$ sudo mount -t cifs //pdc/share /srv/samba/share -o username=admin,domain=MYHOUSE,iocharset=utf8,file_mode=0777,dirmode=0777
- Password for admin@//pdc/share:
- mount error(5): Input/output error
- Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
- admin@pdc:~$ sudo mount -t cifs //pdc/share /srv/samba/share -o username=admin,domain=MYHOUSE
- Password for admin@//pdc/share:
- mount error(5): Input/output error
- Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
- admin@pdc:~$ sudo mount -t cifs //pdc/share /srv/samba/share -o username=admin,domain=myhouse.home
- C:UsersLee>net use \pdcshare /user:admin
- Enter the password for 'admin' to connect to 'pdc':
- System error 86 has occurred.
- The specified network password is not correct.
- C:UsersLee>net use \pdcshare /user:administrator
- Enter the password for 'administrator' to connect to 'pdc':
- The command completed successfully.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement