Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Samba

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
grogoreo



Joined: Tue Apr 12, 2005 7:46 pm
Posts: 11
Location: www.grogoreo.co.uk

PostPosted: Tue May 17, 2005 9:56 pm    Post subject: Samba Reply with quote

hi

I've started again, after a few months laving it, to try and sort a PDC using Samba. I'm sorry for another Samba question as I allways see them and am sure your sick of them! I can get to a point where I am able to enter a username and password to get onto the domain, but it will then tell me Access Denied. Here is my jumbled (Debian default config plus stuff I put in from How To's):

Code:


[global]

   workgroup = INTERCONNECT


   

add maching script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M $u

logon drive = l:
logon home = \\GSERVE-1\%U


domain logons = yes

local master = yes

os level = 65

preferred master = yes

WINS Server
;   wins support = no

;   wins server = w.x.y.z

   dns proxy = no

;   name resolve order = lmhosts host wins bcast


   log file = /var/log/samba/log.%m

   max log size = 1000

;   syslog only = no

   syslog = 0

   panic action = /usr/share/samba/panic-action %d


   security = user

   encrypt passwords = true
   smb passwd file = /etc/samba/smbpasswd

   passdb backend = tdbsam guest

   obey pam restrictions = yes

;   guest account = nobody
   invalid users = root

   unix password sync = yes

   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .

;   pam password change = no


   load printers = yes

;   printing = bsd
;   printcap name = /etc/printcap

   printing = cups
   printcap name = cups

   printer admin = @ntadmin


;   preserve case = yes
;   short preserve case = yes


;   include = /home/samba/etc/smb.conf.%m

   socket options = TCP_NODELAY

;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

   domain master = yes

;   idmap uid = 10000-20000
;   idmap gid = 10000-20000
;   template shell = /bin/bash

wins support = no
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = %S
   read only = no
   create mode = 0600
   directory mode = 0700

[profiles]
   create mode = 0600
   directory mode = 0700
   path = /home/samba/profiles
   profile acls = yes
   read only = no
   writable - yes

[netlogon]
   comment = Network Logon Service
   path = /home/samba/netlogon
   guest ok = yes
   writable = no
   share modes = no

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
   write list = root, @ntadmin

[cdrom]
   comment = Samba server's CD-ROM
   writable = no
   locking = no
   path = /cdrom
   public = yes


   preexec = /bin/mount /cdrom
   postexec = /bin/umount /cdrom


[Link Removed]

I have created a smbpasswd file using the touch command and put it in /etc/samba/. I have used smbpasswd to add users, grogoreo and root and also:

useradd �g smbuser �d /dev/null -�s /dev/null ntclient$
smbpasswd �a �m ntclient~$

I put ~$ at the end because I went onto Users and Groups, Gnome, and it was on there.

Any ideas? I'm using Debian Sarge


Thanks,
Greg
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast