Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

verify samba join domain

Status
Not open for further replies.

duster123

Technical User
Jun 21, 2006
168
GB
what the official command to start samba 3.0? im using /sbin/service smb start but im getting a starting smb service error failed. however the nmb service starts. when i try to connect to the domain i get promted for a pasword i put my root account in from the xp client but then i get the network path is not found. i can ping the linux box. im not sure where the problem lies. help
 
i also did a top command and i dont see samba running when i type /usr/sbin/smdb -d i dont get an error but the process still doesnt show up
 
Try using the startup script instead of calling the executable directly. The startup script saves you from having to put a bunch of things on the command line. A good place to look would be /etc/rc.d/init.d/smb where "smb" is the script we are looking for. Open it with a text editor to see more of the command line options. You may also want to have this script run a bootup.

 
I thought all scripts in the initd folder automatically load at boot my smb script is already there
 
here is my config file. i can ping my netbios name but cannot browse to server in network neighborhood

#/etc/samba/smb.conf
#Samba configuration file
#last update: today
[global]

;basic server settings

workgroup = newyork
netbios name = linux
server string = Samba PDC running %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u

;sync Unix passwords
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter* new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all* authentication*tokens*updated*sucessfully*

; PDC and master browser settings

OS level = 64
preferred master = yes
local master = yes
domain master = yes

; Security and log settings

security = user
encrypt passwords = yes
domain logons = yes
log file = /var/logs/samba/log.%m
log level = 2
max log size = 50
hosts allow = 127.0.0.0.1 10.10.10.0 / 255.255.255.0

; User profiles and home directory

logon home = \\%L\%U\.profile
logon drive = H:
logon path = \\%L\%\profiles\%U
logon script = netlogon.bat

; Shares

[homes]

comment = Home Directories
browseable = no
writeable = yes

[profiles]
path = /home/samba/profiles
writable = yes
browseable = no
create mask = 0600
directory mask = 0700

[netlogon]
path = /home/netlogon
read only = yes
write list = tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top