Logo 
Search:

Unix / Linux / Ubuntu Answers

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds
  on Dec 11 In Unix / Linux / Ubuntu Category.

  
Question Answered By: Adah Miller   on Dec 11

Ok, can I just get rid of or comment out the SHARE MODES lines since
they have been deprecated?

Does this line need to be changed, since the Windows machine is
192.168.6.101?
interfaces = 127.0.0.1/8, 192.168.0.0/24



emil@ubuntu:~$ testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
WARNING: The "share modes" option is deprecated
Processing section "[netlogon]"
WARNING: The "share modes" option is deprecated
Processing section "[profiles]"
Processing section "[printers]"
WARNING: The "share modes" option is deprecated
Processing section "[pdf-documents]"
Processing section "[pdf-printer]"
Processing section "[Pictures]"
Processing section "[Documents]"
Processing section "[Music]"
Processing section "[Shared Files]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = AWP
netbios name = SAMBA24
server string = Samba file and print server
interfaces = 127.0.0.1/8, 192.168.0.0/24
bind interfaces only = Yes
update encrypted = Yes
client schannel = No
server schannel = No
allow trusted domains = No
obey pam restrictions = Yes
passwd program = /usr/bin/passwd '%u'
passwd chat = *New*password* %n\n *ReType*new*password* %n\n
*passwd*changed*\n
passwd chat timeout =
120
username map =
/etc/samba/smbusers
password level =
6
username level =
6
unix password sync =
Yes
log file =
/var/log/samba/samba.log

max log size =
1000

name resolve order = wins lmhosts
bcast

client signing =
No

client use spnego =
No

socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192

printcap name =
cups

machine password timeout =
120

add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User
Account' -s /dev/null
'%u'
delete user script = /usr/sbin/userdel
'%u'

add group script = /usr/sbin/groupadd
'%g'

delete group script = /usr/sbin/groupdel
'%g'

add user to group script = /usr/sbin/useradd -d /dev/null -c
'Samba User Account' -s /dev/null -g '%g'
'%u'
delete user from group script = /usr/sbin/userdel '%u'
'%g'

add machine script = /usr/sbin/useradd -d /dev/null -g
sambamachines -c 'Samba Machine Account' -s /dev/null -M
'%u'
logon script =
%G.bat

logon path =
\\%L\profiles\%u

logon drive =
m:

logon home =
\\%L\homes\%u

os level =
33

local master =
No

domain master =
No

dns proxy =
No

remote announce =
192.168.0.255

remote browse sync =
192.168.0.255

idmap uid =
16777216-33554431

idmap gid =
16777216-33554431

template shell =
/dev/null

winbind separator =
@

winbind cache time =
360

winbind use default domain =
Yes

winbind trusted domains only =
Yes

winbind nested groups =
No

winbind nss info =
no

hosts allow =
127.192.168.0.

cups options =
raw

follow symlinks =
No


[homes]
comment = Home Directories
path = /home/
locking = No
share modes = No

[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = No
locking = No
share modes = No

[profiles]
comment = User Profiles
path = /var/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No
locking = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
locking = No
share modes = No

[pdf-documents]
comment = Converted PDF Documents
path = /home/pdf-documents
read only = No
guest ok = Yes

[pdf-printer]
comment = PDF Printer Service
path = /tmp
guest ok = Yes
printable = Yes
printing = bsd
print command = /usr/bin/gadmin-samba-pdf %s %u
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
use client driver = Yes

[Pictures]
path = /home/emil/Pictures
guest ok = Yes

[Documents]
path = /home/emil/Documents
guest ok = Yes

[Music]
path = /home/emil/Music
guest ok = Yes

[Shared Files]
path = /home/emil/Shared/ Files
guest ok = Yes
emil@ubuntu:~$

Share: 

 

This Question has 19 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Home Networking Or get search suggestion and latest updates.


Tagged: