LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-23-2009, 09:35 AM   #1
PandaBox
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Netlogin problem with Samba


Samba problem, ONLY the netlogon isn't working.

My netlogon isn't working.


smb.conf
Code:
[global]
log level = 2
workgroup = workgroup
netbios name = SERVER
passdb backend = tdbsam
security = user
hosts allow = 192.168.1., 127.0.0.1
admin users = root

add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = \ /usr/sbin/useradd -s /bin/false -d /dev/null \ -g machines %u

# The following specifies the default logon script
# Per user logon scripts can be specified in the user
# account using pdbedit
# This sets the default profile path.
# Set per user paths with pdbedit

logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
idmap uid = 15000-20000
idmap gid = 15000-20000
server string = Samba Server
username map = /etc/samba/smbusers
;       encrypt passwords = yes
;       guest ok = no
;       guest account = nobody

[homes]
comment = Home Directory
valid users = %S
create mask = 0700
directory mask = 0700
read only = No
browseable = No

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
admin users = dell
valid users = %U
read only = yes
guest ok = yes
share modes = no
browseable = no
available = yes

[profiles]
comment = Roaming Profile Share
path = /home/samba/profile
read only = No
browseable = No
guest ok = Yes
profile acls = Yes


smbclient -L localhost -U%
Code:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.33-3.7.el5]

        Sharename       Type      Comment
        ---------       ----      -------
        shared          Disk      Shared Directory
        accounts        Disk      Accounts Directory
        IPC$            IPC       IPC Service (Samba Server)

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.33-3.7.el5]

        Server               Comment
        ---------            -------
        PC
        SERVER                Samba Server

        Workgroup            Master
        ---------            -------
        WORKGROUP            SERVER
I go into windows business and enter the domain but it returns an error.

smbclient -L localhost
Password:
[code]
session setup failed: NT_STATUS_LOGON_FAILURE[/cpde]

Password IS correctly entered.
 
Old 06-23-2009, 11:20 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Moved: This thread is more suitable in Linux - Networking and has been moved accordingly to help your thread/question get the exposure it deserves. I also fixed up the title a bit so users would be able to tell what kind of help you need.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
How to edit files with xemacs over Samba share? Samba problem? rylan76 Linux - Software 1 11-13-2008 01:00 AM
Samba sharing problem (user permission problem) beikokutn Linux - Software 4 03-11-2008 05:55 AM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration