Linux - Server This forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-25-2007, 12:58 PM
#1
Member
Registered: May 2006
Location: England
Distribution: CentOS, Ubuntu Server, Untangle, pfSense
Posts: 78
Rep:
Samba Error!
Hi,
I have to linux samba servers setup. One is a PDC and the other is a standard file server.
The problem i have is when i try and make the standard file server join the PDC i keep getting this error message
-----------------------------------------------------
[root@isoserver ~]# net rpc join MCKNET -U admin Password:
[2007/03/25 19:48:45, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(319)
Error domain join verification (reused connection): NT_STATUS_ACCESS_DENIED
Unable to join domain MCKNET.
-----------------------------------------------------
Can anyone help me?
Many Thanks,
Blackfish
03-25-2007, 01:10 PM
#2
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075
Rep:
It sounds stupid, but first check that the account you are using actually works. The simplest way is to login with "smbclient" from the server itself.
03-25-2007, 03:08 PM
#3
Member
Registered: May 2006
Location: England
Distribution: CentOS, Ubuntu Server, Untangle, pfSense
Posts: 78
Original Poster
Rep:
tried smbclient
[root@isoserver ~]# smbclient -L NTHOSTSVR1 -U admin
Password:
Domain=[MCKNET] OS=[Unix] Server=[Samba 3.0.10-1.4E.9]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer drivers
Primary Disk Primary i-bay
family Disk Family Store
system Disk Network System Share
IPC$ IPC IPC Service (SME Server)
ADMIN$ IPC IPC Service (SME Server)
admin Disk Home directory
Domain=[MCKNET] OS=[Unix] Server=[Samba 3.0.10-1.4E.9]
Server Comment
--------- -------
ISOSERVER SME Server
NTHOSTSVR1 SME Server
WSTATION1
Workgroup Master
--------- -------
MCKNET NTHOSTSVR1
im confused!
this lets me login but i cant make the ISOSERVER join the domain hosted by NTHOSTSVR1
any help will be appreciated!!
Many Thanks,
BlackFish
Edit:
tried with a different account with admin privilages but still no luck
Last edited by blackfish; 03-25-2007 at 03:21 PM .
03-25-2007, 03:39 PM
#4
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075
Rep:
OK, could you post the contents of the smb.conf file on the server?
03-25-2007, 05:18 PM
#5
Member
Registered: May 2006
Location: England
Distribution: CentOS, Ubuntu Server, Untangle, pfSense
Posts: 78
Original Poster
Rep:
Here is the smb.conf on the PDC Server (NTHOSTSVR1)
[global]
dos charset = 850
unix charset = UTF8
display charset = ISO8859-1
workgroup = MCKNET
server string = SME Server
interfaces = 127.0.0.1, 192.168.92.63/255.255.255.0
passdb backend = smbpasswd:/etc/samba/smbpasswd
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
check password script = /sbin/e-smith/samba_check_password
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
smb ports = 139
name resolve order = wins lmhosts bcast
deadtime = 10080
printcap name = /etc/printcap
add machine script = /sbin/e-smith/signal-event machine-account-create '%u'
logon script = netlogon.bat
logon path = \\%L\Profiles\%U
logon home = \\%L\%U\._winprofile
domain logons = Yes
os level = 65
domain master = Yes
dns proxy = No
wins support = Yes
admin users = admin, dominic, tina, wayne, charlotte
printer admin = admin
hosts allow = 127.0.0.1, 192.168.92.0/255.255.255.0
printing = lprng
print command = /usr/bin/lpr -b -h -r -P%p %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
lppause command = lpc hold '%p' %j
lpresume command = lpc release '%p' %j
queuepause command = lpc stop '%p'
queueresume command = lpc start '%p'
case sensitive = No
strict locking = No
[homes]
comment = Home directory
path = /home/e-smith/files/users/%S/home
read only = No
create mask = 0660
force create mode = 0660
directory mask = 0770
force directory mode = 0770
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
use client driver = Yes
browseable = No
[Profiles]
path = /home/e-smith/files/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No
[netlogon]
comment = Network Logon Service
path = /home/e-smith/files/samba/netlogon
read only = No
guest ok = Yes
browseable = No
[print$]
comment = Printer drivers
path = /home/e-smith/files/samba/printers
guest ok = Yes
use client driver = Yes
[Primary]
comment = Primary i-bay
path = /home/e-smith/files/ibays/Primary
read only = No
create mask = 0640
inherit permissions = Yes
[family]
comment = Family Store
path = /home/e-smith/files/ibays/family/files
read only = No
create mask = 0640
inherit permissions = Yes
[system]
comment = Network System Share
path = /home/e-smith/files/ibays/system/files
read only = No
create mask = 0640
inherit permissions = Yes
-----------------------------------------------------
Here is the smb.conf on the client server (ISOSERVER)
[global]
dos charset = 850
unix charset = UTF8
display charset = ISO8859-1
workgroup = MCKNET
server string = SME Server
interfaces = 127.0.0.1, 192.168.92.39/255.255.255.0
security = DOMAIN
password server = NTHOSTSVR1
pid directory = /var/run
passdb backend = smbpasswd:/etc/samba/smbpasswd
guest account = public
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
check password script = /sbin/e-smith/samba_check_password
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
smb ports = 139
name resolve order = wins lmhosts bcast
deadtime = 10080
printcap name = /etc/printcap
add machine script = /sbin/e-smith/signal-event machine-account-create '%u'
domain master = No
dns proxy = No
wins server = 192.168.92.63
admin users = admin
printer admin = admin
hosts allow = 127.0.0.1, 192.168.92.0/255.255.255.0
printing = lprng
print command = /usr/bin/lpr -b -h -r -P%p %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
lppause command = lpc hold '%p' %j
lpresume command = lpc release '%p' %j
queuepause command = lpc stop '%p'
queueresume command = lpc start '%p'
case sensitive = No
strict locking = No
[homes]
comment = Home directory
path = /home/e-smith/files/users/%S/home
read only = No
create mask = 0660
force create mode = 0660
directory mask = 0770
force directory mode = 0770
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
use client driver = Yes
browseable = No
[print$]
comment = Printer drivers
path = /home/e-smith/files/samba/printers
guest ok = Yes
use client driver = Yes
[Primary]
comment = Primary i-bay
path = /home/e-smith/files/ibays/Primary
read only = No
create mask = 0640
inherit permissions = Yes
-----------------------------------------------------
Both systems are running SME Server 7.1 but i editted the smb.conf files to try and set this up using the method on the SME Server Manual.
Hope that helps you to help me
Many Thanks,
BlackFish
03-31-2007, 04:04 PM
#6
Member
Registered: May 2006
Location: England
Distribution: CentOS, Ubuntu Server, Untangle, pfSense
Posts: 78
Original Poster
Rep:
fixed it, forgot to run smbpasswd -a -m ISOSERVER$ on the PDC
opps, but we all make mistakes lol
All times are GMT -5. The time now is 08:20 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News