[Samba] disk vs print share

2004-07-29 Thread samba

Is there any way to determine the share type (disk, printer, etc) of a
foreign share on the network?  I'm looking for a tool similar to smbtree(1)
from which I can pick out only disk shares.

J
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba+LDAP - so close yet so far :) ...STILL NOT SOLVED

2004-07-29 Thread Christian . Wittmer
abebe lsslp [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
28.07.2004 22:11

 
To: Samba Samba [EMAIL PROTECTED]
cc: 
Subject:Re: [Samba] Samba+LDAP - so close yet so far  :) ...STILL NOT 
SOLVED


 
Back to the real deal... I have decided not to assume anything and to 
take it step by step :) Craig..I have followed your advice and I am using 
'people' instead of 'Computers'.

OK, if you store Computers and Users in ou=People that's ok
 
NOTE: 
- Have 'root= administrator' in /etc/samba/smbusers
no remove it
- Have done the appropriate chages to the xp registery
You do not need any modifications
 
[EMAIL PROTECTED] root]# smbldap-usershow administrator
dn: uid=Administrator,ou=Users,dc=wbcoll,dc=edu
I think you use ou=People ?!

cn: Administrator
sn: Administrator
objectClass: inetOrgPerson,sambaSAMAccount,posixAccount,shadowAccount
gidNumber: 512
uid: Administrator
uidNumber: 0
homeDirectory: /home/
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaHomePath: \\EAGLEX\homes
sambaHomeDrive: H:
sambaPrimaryGroupSID: S-1-5-21-3864350619-1217412381-2490860374-512
sambaSID: S-1-5-21-3864350619-1217412381-2490860374-2996
loginShell: /bin/false
gecos: Netbios Domain Administrator
sambaAcctFlags: [U]
sambaPwdMustChange: 1098811932
sambaLMPassword: F70389E8F4B94063AAD3B435B51404EE
sambaPwdLastSet: 1091035932
sambaNTPassword: 60BED106E19D7A3F919FA1919125FFBA
userPassword: {SSHA}3zMR3Ds/5knGujxtByOIYPjl0mVBhJgr


 
ERROR: (having trouble joining XP (xptest) to domain).
The following error occured attempting to join the domain AGUILAS:
'Access is denied.'
Error is shown in the LOG
 
And here is part of the error message in  'xptest.log': 
 
[2004/07/28 13:59:39, 3] auth/auth.c:check_ntlm_password(219) 
check_ntlm_password: Checking password for unmapped user 
[EMAIL PROTECTED] with the new password interface 
[2004/07/28 13:59:39, 3] auth/auth.c:check_ntlm_password(222) 
check_ntlm_password: mapped user is: [EMAIL PROTECTED] 
Here is the error.
Remove usermapping in smbusers. Administrator should not be mapped to root 
!!!

[2004/07/28 13:59:39, 3] smbd/sec_ctx.c:push_sec_ctx(256) 
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 
[2004/07/28 13:59:39, 3] smbd/uid.c:push_conn_ctx(364) 
push_conn_ctx(0) : conn_ctx_stack_ndx = 0 
[2004/07/28 13:59:39, 3] smbd/sec_ctx.c:set_sec_ctx(288) 
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 
[2004/07/28 13:59:39, 3] smbd/sec_ctx.c:pop_sec_ctx(386) 
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 
[2004/07/28 13:59:39, 3] auth/auth_sam.c:check_sam_security(202) 
check_sam_security: Couldn't find user 'root' in passdb file. 
[2004/07/28 13:59:39, 3] auth/auth_winbind.c:check_winbind_security(80) 
check_winbind_security: Not using winbind, requested domain [AGUILAS] was 
for this SAM. 
[2004/07/28 13:59:39, 2] auth/auth.c:check_ntlm_password(312) 
check_ntlm_password: Authentication for user [administrator] - [root] 
FAILED with error NT_STATUS_NO_SUCH_USER 
[2004/07/28 13:59:39, 3] smbd/sesssetup.c:do_map_to_guest(41) 
No such user administrator [AGUILAS] - using guest account

QUESTION:
1) Do I have to add 'smbpasswd -a root' or 'smbpasswd -a administrator'?
No. See comment in LOG

2) NT_STATUS_NO_SUCH_USER ? 'pdbedit -LV administrator' shows that the 
user exist
Try 'smbclient -L [YOURHOST] -UAdministrator%password'
where password is the the password you gave Administrator
you can check if you can access shares on your samba

3) do 'root' and 'administrator' have to have the same password?
No, Admnistrator only need to have the uid=0, and he has it.

If you have 2 ou, one for Users and one for Computers then you need to 
have /etc/ldap.conf like as following.
This is a must have when not using NIS 

#
# This is the configuration file for the LDAP nameservice
# switch library, the LDAP PAM module and the shadow package.
#
.snip

# RFC2307bis naming contexts
# Syntax:
# nss_base_XXX  base?scope?filter
# where scope is {base,one,sub}
# and filter is a filter to be 'd with the
# default filter.
# You can omit the suffix eg:
# nss_base_passwd   ou=People,
# to append the default base DN but this
# may incur a small performance impact.
#nss_base_passwdou=People,dc=icw,dc=com?sub # uncomment when usin 
NIS
#nss_base_shadowou=People,dc=icw,dc=com?sub # uncomment when using 
NIS
nss_base_group  ou=Groups,dc=icw,dc=com?sub
nss_base_hosts  ou=Machines,dc=icw,dc=com?sub



When any other Questions will come along, just mail me.

Christian


 

 
-
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Samba3 - LDAP - USRMGR.EXE

2004-07-29 Thread Christian . Wittmer
Jim C. [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
28.07.2004 18:05

 
To: [EMAIL PROTECTED]
cc: 
Subject:[Samba] Re: Samba3 - LDAP - USRMGR.EXE


Post your add user script line from smb.conf
You might be missing a flag or something.

 add user script = smbldap-useradd -m %u

My line in was correct but /etc/ldap.conf was not.
The problem was that LDAP searches the Machine in ou=People but it should 
search in ou=Machines.
So I had to modifiy /etc/ldap.conf as following

---snip
# RFC2307bis naming contexts
# Syntax:
# nss_base_XXX  base?scope?filter
# where scope is {base,one,sub}
# and filter is a filter to be 'd with the
# default filter.
# You can omit the suffix eg:
# nss_base_passwd   ou=People,
# to append the default base DN but this
# may incur a small performance impact.
#nss_base_passwdou=People,dc=icw,dc=com?sub
#nss_base_shadowou=People,dc=icw,dc=com?sub
nss_base_group  ou=Groups,dc=icw,dc=com?sub
nss_base_hosts  ou=Machines,dc=icw,dc=com?sub

I needed to comment nss_base_passwd, nss_base_shadow ( not using NIS , 
Jerome Tournier)

Now it works without any problems

Thanks
Christian

-- 

-
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: [EMAIL PROTECTED]  AIM: WyteLi0n  ICQ: 123291844 |
|---|
| Y!: j_c_llings   Jabber: [EMAIL PROTECTED]|
-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] need some advice

2004-07-29 Thread lists
hi,
i've several - for me - big problems. i've posted here several times and 
only got generic or no replies. as my problmes ge more and more urgent i 
need some help. where can i get this ? what do i have to do. i'm realy 
desperate ..

TIA
--
Matthias Henze[EMAIL PROTECTED]
Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
MHC SoftWare GmbH  voice: +49-(0)9533-92006-0
Fichtera 17  fax: +49-(0)9533-92006-6
96274 Itzgrund/Germanye-Mail: [EMAIL PROTECTED]
- - - - - - - - - - - - - - - - - - - - - - - - - - - -


pgp2GpigbO6rt.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1 workstation

2004-07-29 Thread Umberto Zanatta
Il gio, 2004-07-29 alle 07:55, [EMAIL PROTECTED] ha scritto:

 That is for roaming profiles, right ? 
 Why would I want to set that ?


No, isn't. but you have to try; 'cos, in my opinion, of course, you
won't login in bdc;

but, the roaming profiles (home directory) must be in pdc;

if that works, you will try set (in bdc):

logon path = \\PDC\blablabla... (for win nt)
logon home = blablabla (for win 9x)

where PDC is the ip address of pdc. blablabla is the share;

u.


  
 
 That's not good if the user logs on from another site; the profile
 would have to come over the internet to his laptop.
 
 Or am I mistaking ? 
 
 
 Bert 
 
 
 
 
 Umberto Zanatta
 [EMAIL PROTECTED]
 Sent by:
 [EMAIL PROTECTED]
 
 28/07/2004 20:46
To
 [EMAIL PROTECTED]
cc
 [EMAIL PROTECTED]
   Subject
 Re: AW: AW: AW:
 AW: [Samba] Samba
 - LDAP - User
 cannot  
 loginfrom  
 1  
 workstation
 
 
 
 
 You should try set
 
 logon path =
 
 u.
 
 
 Il mer, 2004-07-28 alle 15:09, [EMAIL PROTECTED] ha
 scritto:
 
  It becomes VERY weird... 
  
  This afternoon I witnessed the following : the user logged on to his
 pc; 
  accessed his home directory on the PDC; no problema; accessed
 another 
  share on the PDC; no problema; accessed a share on the BDC :
 connection 
  refused. Going back to the PDC to access the home directory :
 connection 
  refused. 
  
  However; there were NO error entries in the logs on either Samba
 server. 
  Only entries like these :
  [2004/07/28 13:29:38, 1] smbd/service.c:make_connection_snum(619)
allier (192.168.0.190) connect to service cvs initially as user
 mschijva 
  (uid=1015, gid=100) (pid 22284)
  
  I'm completely lost now
  
  
  Bert De Ridder
  
  
  
  
  Arno Seidel [EMAIL PROTECTED] 
  Sent by: [EMAIL PROTECTED]
  28/07/2004 11:24
  Please respond to
  [EMAIL PROTECTED]
  
  
  To
  [EMAIL PROTECTED]
  cc
  [EMAIL PROTECTED]
  Subject
  AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot  loginfrom  
 1 
  workstation
  
  
  
  
  
  
  Hi,
  
  what os does the client have? W98?
  
  in the system-controll folder there should be a icon (in german
 called
  Verwaltung) whre the local policies , the settings for odbc ...and
 mor
  are... there should be also an icon called
  eventmanager / display... maybe there is a log entry?
  
  Did you see some errrors on the samba side (instead of the
 connection 
  reset
  by peer) if you try a higher debug-/log-level?
  
  the other way is, that you back-up the users home-directory, and his
  roaming-profile and completely remove him and (from windows / ldap /
 samba
  ...) and readd him as a new
  user with a empty home and profile-directory... and then just put
 the
  saved-files (from the profile / homedirectory in the new created
 profile /
  home-directory in.
  it could be that there are some settings in the profile are wrong.
  
  
  
  
   -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
  Gesendet: Mittwoch, 28. Juli 2004 08:23
  An: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Betreff: Re: AW: AW: AW: [Samba] Samba - LDAP - User cannot
 loginfrom 1
  workstation
  
  
  
Yes, I have checked the LDAP entry; I even recreated it; I tried
 the
  user/pwd on 3 other machines : 2000 Prof. Wks; 2000 Server and XP
 Prof.
The local permissions on the machine are OK; I can add the domain
 user 
  to
  the local admin. group, so that should be ok.
  
I agree that it is not a server-side issue; but where on the
 client can 
  I
  start searching for errors ?
  
  
Regards,
  
Bert De Ridder
  
PeopleWare NV - Head Office
Cdt.Weynsstraat 85
B-2660 Hoboken
Tel: +32 3 448.33.38
Fax: +32 3 448.32.66
  
PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25
  
http://www.peopleware.be
http://www.mobileware.be
  
  
  Arno Seidel [EMAIL PROTECTED]
  Sent by: 
  [EMAIL PROTECTED]
  27/07/2004 17:56 Please respond to
[EMAIL PROTECTED]
  
  
 To [EMAIL PROTECTED]
cc
Subject AW: AW: AW: [Samba] Samba - LDAP - User cannot
  loginfrom1workstation
  
  
  
  
  
  
  
Hi,
  
did you check the ldap-entry for that user?? maybe there is a
 mistake...
are the other workstations you tried w2k too?
are the local permissions on the workstation for that user
 correct???
maybe there is a local-policy...
maybe there is a user-workstation entry in the ldapaccount...
  
i don?t think that it has something to do with the configuration
 of the
samba /ldap servers, because other pc?s on the same segment have
 no
problems.
  
  
 -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 Auftrag 
  von
 [EMAIL PROTECTED]
 Gesendet: Dienstag, 27. Juli 2004 16:51
 An: Umberto Zanatta
 

[Samba] force create mode issue

2004-07-29 Thread Zounek, Alex, Patentanwaltskanzlei Zounek
Dear List,

I'd like to report my observations on a Samba new file permissions problem
for which I found
dozens of support requests on the net without any useful replies.

Hopefully, my observations help identify the root cause of this issue which
also seems to occur
with new Samba versions 3.0.x.

In our domain we operate a file server under Samba 2.2.8a as PDC. Overall we
are delighted with Samba.
Many thanks and compliments to the Samba team.

There is only one slightly annoying issue with new file permissions.


1. PDC »maestro« hosts 2 Samba shares named »parent« and »child« which are
set up as:
   
[parent]
path=/home/data/parent
writeable=Yes

[child]
path=/home/data/parent/child
browseable=No
writeable=Yes
oplocks=no
level2 oplocks=no
create mode = 0770
force create mode = 0660
directory mode = 0770
force directory mode = 0770


2. The Linux permissions on both directories »parent« and »child« are:

drwxrwx---  root  users   i.e. members of the users group have rwx
permissions.


3. On our Windows NT and XP client machines we have mapped the »parent«
share to network drive X:


4. If user »otto« who is a member of the users group accesses the »child«
share via »X:\child« and creates a new file or directory,
   the new file/directory permissions are set to:
   
   -rwxr--r--  otto  users  or  drwxr-xr-x  otto  users
   
   This agrees with the Samba default »create mode 755« but is not not what
we expect considering the 
   »create mode« and »force create mode« settings of the »child« share.


5. Now, if user »otto« accesses the »child« share via »\\maestro\child« and
creates a new file or directory the
   permissions are set to:

   -rwxrwx---  otto  users  or  drwxrwx---  otto  users

   This is what we want.


From above it appears that with regard to new file permissions Samba
distinguishes between the two different access paths
to the »child« share, i.e.

»X:\child«   or»\\maestro\child«


Any feedback and advice are most welcome.


Best regards,
Alex
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: FW: [Samba] Samba printers print$

2004-07-29 Thread Marcus White
On Wed, 2004-07-28 at 11:36, Kyle Miller wrote:
 My [print$] section is pretty basic (I'm connecting as 'kyle', who is
 also defined as a printer admin in global. Included global for
 completeness, even though it's uninteresting.) :
 
 [global]
 workgroup = TESTGROUP
 netbios name = KYLESMB
 server string = Samba Server for Testing
 log level = 4
 log file = /var/log/samba/%m.log
 max log size = 50
 dns proxy = No
 printer admin = kyle
 show add printer wizard = Yes
 
 
 [print$]
 comment = Print Driver Auto-Download
 path = /etc/samba/drivers
 write list = kyle
 read only = Yes
 browseable = No
 guest ok = No
 
 My /etc/drivers/samba looks like this. Only a W32X86 dir, since that's
 the only platform on which I have clients.
 
 [kyle]$ ls -al /etc/samba/drivers
 total 12
 drwxrwxrwt  3 root root 4096 Jul  7 13:42 .
 drwxr-xr-x  3 root root 4096 Jul 12 15:11 ..
 drwxrwxrwt  2 root root 4096 Jul  7 13:42 W32X86
 
 Any thoughts?
 
 Thanks,
 
 Kyle
 
 
 On Wed, 28 Jul 2004 05:37:21 -0400, Marcus White
 [EMAIL PROTECTED] wrote:
  BTW... Did you create the directory list similar to this in your drivers
  directory?
  
  [print$]--+
|--W32X86   # serves drivers to Windows NT x86
|--WIN40# serves drivers to Windows 95/98
|--W32ALPHA # serves drivers to Windows NT Alpha_AXP
|--W32MIPS  # serves drivers to Windows NT R4000
|--W32PPC   # serves drivers to Windows NT PowerPC
  
  
  
  Marcus O.
  
  On Tue, 2004-07-27 at 09:56, Kyle Miller wrote:
   For what it's worth, I too have the same problem, which I posted to
   the list about a few weeks ago (unfortunately no response). I was
   following the section of the HOWTO that you linked to below. I think
   it's possible that there is a missing step in the documentation. I can
   print to my printer just fine, but cannot upload the drivers using the
   APW, as documented in the howto, even though my permissions appear to
   be correct.
  
   If anyone might be able to shed some more light on it, I'd sure
   appreciate it. In my case, details are in my previous email to the
   list, or I can provide them again. Maybe we can find some similarity
   between my setup and this guy's setup that leads to the problem.
  
   Kyle
  
   Please check out this link:
   http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/printing.html#id2550771
   
   HTH,
   
   Marcus O.
  
 

Do you have a [printers] section defined in the smb.conf file? Which
linux printer system (ie cups, lprng, bsd) are you using? Have you tried
adding root to the [print$] write list and using the root (admin)
account to add drivers?

Marcus O.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Joining Linux to Windows 2000 domain

2004-07-29 Thread Hamish
Make sure winbind is running (have you edited nsswitch.conf to include 
winbind?) and that nscd is not running. You can stop nscd and restart 
all the samba services with `/etc/init.d/nscd stop` then 
`/etc/init.d/smb restart` `/etc/init.d/nmb restart` `/etc/init.d/winbind 
restart`
Hope this helps

Tim Barone wrote:
Hello,  I am new to Linux, Samba, and actually servers in general.  I 
am attempting to set up a Linux file server and join it to a Windows 
2000 domain.  All I want to be able to do is get files from the linux 
file server and put files on it.  I do not want it to be the domain 
controller.

I join the domain using:  net join -S 10.10.10.40 
-UAdministrator%password

It tells me that I have joined the domain.
wbinfo -t   wbinfo -p   work fine!
Wbinfo -u gives me: Error looking up domain members
Wbinfo -g gives me: Error looking up domain groups
Any ideas on what to do?
Thanks a bunch!
Linux is Fedora Core 1
Samba is 3.0
smb.conf file:
[global]
workgroup = EIIECOMM
netbios name = e2efileserver1
realm = EIIECOMM.COM
idmap uid = 1 - 15000
idmap gid = 1 - 15000
winbind separator = +
winbind use default domain = Yes
use sendfile = Yes
server string= Samba Server
printcap anme = /etc/printer
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
security = domain
password server = *
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
os level = 33
wins support = no
wins server = 10.10.10.40 (I'm not sure this is a wins server)
dns proxy = no
[homes]
comment = Home Directories
valid users = %S
browseable = yes
writeable = yes
[tmp]
comment = Temporary file space
path = /tmp
writeable = yes
guest ok = yes
[public]
comment = Data
path = /export/public
public = yes
writeable = yes
_
Is your PC infected? Get a FREE online computer virus scan from 
McAfee® Security. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Drive mapping failing

2004-07-29 Thread Bob Lansley
Hi,
I have a 2.2.8 Samba server setup here that is mapping Unix
home directories to a drive at login for Windows XP and
Win2K Pro desktops. I'm using server level security, the
password server being an Active Directory server.
This works consistantly well.
I've introduced a Win2K Server with terminal services and
Samba will fail to authenticate after only a very few logins
complaining that the password or username is invalid.
I also periodically get System error 1326 has occurred
Has anyone else used Samba in this way and seen an issue
with Win2K Server?
smb.conf included.
# Global parameters
[global]
   workgroup = ANALOG
   server string = acesn19 Samba Server Version 2.2.8
   security = SERVER
   password server = hostname.domainname
   username map = /usr/local/samba/lib/smbusers
   log file = /usr/local/samba/var/log.%m
   disable spoolss = Yes
   dns proxy = No
[homes]
   comment = Home Directories
   username = %S
   read only = No
[printers]
   comment = All Printers
   path = /usr/local/samba/spool
   printable = Yes
   browseable = No
[cadtools]
   comment = Cadtools directory
   path = /design/cad
   guest ok = Yes
[ghost]
   comment = Cadtools directory
   path = /design/cad/ghost
   read only = No
   guest ok = Yes
Cheers,
Bob
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Linux smbfs differences

2004-07-29 Thread Micha Kersloot
Hoi,
On 27-jul-04, at 12:43, Gabor Kiss [Bitman] wrote:
For example:
smbmount //server/share /mountpoint -o uid=100,gid=100
makes all the files owned by uid 100 on a 2.4 kernel. The same command
on a 2.6 kernel makes the mountpoint owned by uid 100, the rest of the
files have the uid's as set on the server.
Is CONFIG_SMB_UNIX enabled in 2.4 kernels?
  | CONFIG_SMB_UNIX:
  |
  | Enabling this will make smbfs use the CIFS Unix Extensions if
  | supported by the server. These extensions allows use of unix user
  | ids, permissions, file modes, symlinks, etc that normally do not
  | work on smbfs.
  |
  | Samba 3.0 servers supports these extensions.
No, that is not enabled, but I can't find the option in the .config of 
2.4 or 2.6.
But this makes my question why does the option CONFIG_SMB_UNIX makes 
some the configuration options and some of the command line options 
obsolete. Especially when they are so 'handy' when you want to share 
some files.

Met vriendelijke groet,
Micha Kersloot
Voorzitter NLLGG
http://www.nllgg.nl/
icq: 7153298
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: FW: [Samba] Samba printers print$

2004-07-29 Thread Marcus White
On Wed, 2004-07-28 at 11:36, Kyle Miller wrote:
 My [print$] section is pretty basic (I'm connecting as 'kyle', who is
 also defined as a printer admin in global. Included global for
 completeness, even though it's uninteresting.) :
 
 [global]
 workgroup = TESTGROUP
 netbios name = KYLESMB
 server string = Samba Server for Testing
 log level = 4
 log file = /var/log/samba/%m.log
 max log size = 50
 dns proxy = No
 printer admin = kyle
 show add printer wizard = Yes
 
 
 [print$]
 comment = Print Driver Auto-Download
 path = /etc/samba/drivers
 write list = kyle
 read only = Yes
 browseable = No
 guest ok = No
 
 My /etc/drivers/samba looks like this. Only a W32X86 dir, since that's
 the only platform on which I have clients.
 
 [kyle]$ ls -al /etc/samba/drivers
 total 12
 drwxrwxrwt  3 root root 4096 Jul  7 13:42 .
 drwxr-xr-x  3 root root 4096 Jul 12 15:11 ..
 drwxrwxrwt  2 root root 4096 Jul  7 13:42 W32X86
 
 Any thoughts?
 
 Thanks,
 
 Kyle
 
 
 On Wed, 28 Jul 2004 05:37:21 -0400, Marcus White
 [EMAIL PROTECTED] wrote:
  BTW... Did you create the directory list similar to this in your drivers
  directory?
  
  [print$]--+
|--W32X86   # serves drivers to Windows NT x86
|--WIN40# serves drivers to Windows 95/98
|--W32ALPHA # serves drivers to Windows NT Alpha_AXP
|--W32MIPS  # serves drivers to Windows NT R4000
|--W32PPC   # serves drivers to Windows NT PowerPC
  
  
  
  Marcus O.
  
  On Tue, 2004-07-27 at 09:56, Kyle Miller wrote:
   For what it's worth, I too have the same problem, which I posted to
   the list about a few weeks ago (unfortunately no response). I was
   following the section of the HOWTO that you linked to below. I think
   it's possible that there is a missing step in the documentation. I can
   print to my printer just fine, but cannot upload the drivers using the
   APW, as documented in the howto, even though my permissions appear to
   be correct.
  
   If anyone might be able to shed some more light on it, I'd sure
   appreciate it. In my case, details are in my previous email to the
   list, or I can provide them again. Maybe we can find some similarity
   between my setup and this guy's setup that leads to the problem.
  
   Kyle
  
   Please check out this link:
   http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/printing.html#id2550771
   
   HTH,
   
   Marcus O.
  
 
FYI...

Here is a link to a pdf version of the Samba By Example book.
http://us1.samba.org/samba/docs/Samba-Guide.pdf

Marcus O.



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Upgrade question - please be gentle! - failed dependencies?

2004-07-29 Thread Hamish
Thanks for you help, I tried to update with rpm -Uvh and it found a lot 
of failed dependencies: liblber.so.199, libldap.so.199, libpopt.so.199 
etc - did you have these same problems?

rruegner wrote:
Hi, i have a big smb/ldap setup and running
with 3.04 but with kernel 2.4.21 suse 9
and i had no Problems with updating it ( all the way up from version 
3.0-3.04) it worked all like charme as before,
but i recommend to use samba packs from ftp suse projects samba, or 
self compiledyesterday i looked there there where patched 3.04 
packs against the swat sec bug ,but no 3.05

I know problems with sernet suse samba packs after update relating to 
cups
Regards

Hamish schrieb:
Hello
I am planning to upgrade our production samba server (3.0.3pre2-SuSE 
on SuSE 9.0, kernel 2.6.5-10) tonight to 3.0.5. Is there anything I 
should know about things breaking during this upgrade? I will just do 
it with `rpm -Uvh --repackage samba*` - I have tried this on a test 
server and it seems to work ok, but if anyone has some info that 
might be useful I would be grateful!

Thanks
H


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


AW: [Samba] Samba - LDAP - User cannot loginfrom 1workstation

2004-07-29 Thread Arno Seidel
Hi,

i?m wondering about that this behavior is only for one user..
why does another user in the same segment of the domain not behave similar?
How did you changed the users to try?? Did you just log of the user mschijva
and logged on with a diffrent user again..
or did you restart the computer and logged in as a diffrent user?
just a silly question: when this is the only one user with that behavior why
you don?t give him a new
username?
Did you checked the uid / samba-SID and any nurmeric value of that user in
his ldap-entry?

  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Gesendet: Mittwoch, 28. Juli 2004 15:09
  An: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Betreff: Re: AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom
1workstation



  It becomes VERY weird...

  This afternoon I witnessed the following : the user logged on to his pc;
accessed his home directory on the PDC; no problema; accessed another share
on the PDC; no problema; accessed a share on the BDC : connection refused.
Going back to the PDC to access the home directory : connection refused.

  However; there were NO error entries in the logs on either Samba server.
Only entries like these :
  [2004/07/28 13:29:38, 1] smbd/service.c:make_connection_snum(619)
allier (192.168.0.190) connect to service cvs initially as user mschijva
(uid=1015, gid=100) (pid 22284)

  I'm completely lost now


  Bert De Ridder



Arno Seidel [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
28/07/2004 11:24 Please respond to
  [EMAIL PROTECTED]


   To [EMAIL PROTECTED]
  cc [EMAIL PROTECTED]
  Subject AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot
loginfrom1workstation







  Hi,

  what os does the client have? W98?

  in the system-controll folder there should be a icon (in german called
  Verwaltung) whre the local policies , the settings for odbc ...and mor
  are... there should be also an icon called
  eventmanager / display... maybe there is a log entry?

  Did you see some errrors on the samba side (instead of the connection
reset
  by peer) if you try a higher debug-/log-level?

  the other way is, that you back-up the users home-directory, and his
  roaming-profile and completely remove him and (from windows / ldap / samba
  ...) and readd him as a new
  user with a empty home and profile-directory... and then just put the
  saved-files (from the profile / homedirectory in the new created profile /
  home-directory in.
  it could be that there are some settings in the profile are wrong.




  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Gesendet: Mittwoch, 28. Juli 2004 08:23
  An: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Betreff: Re: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
  workstation



   Yes, I have checked the LDAP entry; I even recreated it; I tried the
  user/pwd on 3 other machines : 2000 Prof. Wks; 2000 Server and XP Prof.
   The local permissions on the machine are OK; I can add the domain user to
  the local admin. group, so that should be ok.

   I agree that it is not a server-side issue; but where on the client can I
  start searching for errors ?


   Regards,

   Bert De Ridder

   PeopleWare NV - Head Office
   Cdt.Weynsstraat 85
   B-2660 Hoboken
   Tel: +32 3 448.33.38
   Fax: +32 3 448.32.66

   PeopleWare NV - Branch Office Geel
   Kleinhoefstraat 5
   B-2440 Geel
   Tel: +32 14 57.00.90
   Fax: +32 14 58.13.25

   http://www.peopleware.be
   http://www.mobileware.be


 Arno Seidel [EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]
 27/07/2004 17:56 Please respond to
   [EMAIL PROTECTED]


To [EMAIL PROTECTED]
   cc
   Subject AW: AW: AW: [Samba] Samba - LDAP - User cannot
  loginfrom1workstation







   Hi,

   did you check the ldap-entry for that user?? maybe there is a mistake...
   are the other workstations you tried w2k too?
   are the local permissions on the workstation for that user correct???
   maybe there is a local-policy...
   maybe there is a user-workstation entry in the ldapaccount...

   i don?t think that it has something to do with the configuration of the
   samba /ldap servers, because other pc?s on the same segment have no
   problems.


-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von
[EMAIL PROTECTED]
Gesendet: Dienstag, 27. Juli 2004 16:51
An: Umberto Zanatta
Cc: [EMAIL PROTECTED]
Betreff: Re: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
workstation
   
   
Yes, but I hadn't included that in my previous post; I tried to trim
the
message
   
winbind uid = 100-2
winbind gid = 100-2
winbind separator = +
winbind use default domain = Yes
   
I am not using password server, because i want Samba to 

[Samba] ntml_auth and local security authority

2004-07-29 Thread Jakob Praher
hi all,
I am running a squid cache using ntml_auth samba util.
It works great when the users have joined the domain, since then ie 
sends DOMAIN\Username NTML information.

But it fails when there is a road warrior, which has not joined the 
domain, but has created a username an password which is identical to a 
domain user. This way for instance the windows smb system lets them in 
without having to join the domain.

I wanted to install a hook for changing the DOMAIN on certain 
conditions, but after reading through some NTML specs, I found out that 
DOMAINUSER field is encrypted with the password key and that I would 
have to dig in really deep in the ntlmssp to do the changes, which is 
somehow not what I want.

So my question:
could the ntlmssp authentication in samba could use the security 
authority of the domain supplied by the client. so for instance, if the 
client sends in MYCOMPUTER\User, could the windbind subsystem be 
configured to contact the local security authority of that user instead 
of contacting the DOMAIN controller?

Perhaps someone could give me a rough overview of the authentication 
process used by ntmlssp. ( which modules are called when; ntml_auth 
calles libsmb, ... ) ntml_auth servers as a ntlm server proxy right? 
(doing manage_squid_ntmlssp_request)
So when the client sends in its requests it does the server part, but 
where in ntlmsssp.c does it communicate with the domain controller or 
securty authority to testify the password is correct?

And a thrid question: Would it be easier using kerberos here? If the 
client is a road warrior but has established a kerberos tgt with the 
server, could that be reused with the squid cache (granted I would have 
to create a squid server service key, but that should be no problem)

Perhaps someone has some experience with that?
thanks
-- Jakob
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Joining Domain

2004-07-29 Thread gbengadada
Good Day,

I downloaded samba-2.2.9, installed and configuted it on a Solaris 5.7 system.

I have configured it as a PDC, however whenever i try to join the domain i have 
created, Windows ask that i enter a username  and password authorized to join systems 
to the domain. 

Normally with a Windows 2000 server entering the administrators username and password 
will do it, however I get this error message: 

The following error occured attempting to join the domain sambadomain.net:

Logon failure:unknown user name or bad password.

How can i correct this error.

Thanks for your anticipated co-operation

Dada O.W. 
(M.C.P.)
 Network Administrator
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Linux smbfs differences

2004-07-29 Thread Gabor Kiss [Bitman]
  smbmount //server/share /mountpoint -o uid=100,gid=100
  makes all the files owned by uid 100 on a 2.4 kernel. The same command
  on a 2.6 kernel makes the mountpoint owned by uid 100, the rest of the
  files have the uid's as set on the server.
 
  Is CONFIG_SMB_UNIX enabled in 2.4 kernels?
 
| CONFIG_SMB_UNIX:
|
| Enabling this will make smbfs use the CIFS Unix Extensions if
| supported by the server. These extensions allows use of unix user
| ids, permissions, file modes, symlinks, etc that normally do not
| work on smbfs.
|
| Samba 3.0 servers supports these extensions.

 No, that is not enabled, but I can't find the option in the .config of
 2.4 or 2.6.

This is true for 2.6 (I guess extensions are always enabled)
but my 2.4 config is here:
#
# Network File Systems
#
...
CONFIG_SMB_FS=m
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE=utf8
CONFIG_SMB_UNIX=y

Gabor
-- 
E-mail = m-mail * c-mail ^ 2
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Upgrade question - please be gentle! - failed dependencies?

2004-07-29 Thread rruegner
Hi,
i updated my systems with the killing method
rpm --nodeps --force
i know this is not charming but it worked with the suse packs since 
samba 3.0 up to samba 3.04
but i strongly recommend to test this first on a test system 
Best Regards

Hamish schrieb:
Thanks for you help, I tried to update with rpm -Uvh and it found a lot 
of failed dependencies: liblber.so.199, libldap.so.199, libpopt.so.199 
etc - did you have these same problems?

rruegner wrote:
Hi, i have a big smb/ldap setup and running
with 3.04 but with kernel 2.4.21 suse 9
and i had no Problems with updating it ( all the way up from version 
3.0-3.04) it worked all like charme as before,
but i recommend to use samba packs from ftp suse projects samba, or 
self compiledyesterday i looked there there where patched 3.04 
packs against the swat sec bug ,but no 3.05

I know problems with sernet suse samba packs after update relating to 
cups
Regards

Hamish schrieb:
Hello
I am planning to upgrade our production samba server (3.0.3pre2-SuSE 
on SuSE 9.0, kernel 2.6.5-10) tonight to 3.0.5. Is there anything I 
should know about things breaking during this upgrade? I will just do 
it with `rpm -Uvh --repackage samba*` - I have tried this on a test 
server and it seems to work ok, but if anyone has some info that 
might be useful I would be grateful!

Thanks
H


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re:

2004-07-29 Thread UrduPoint

 
Asslam aleakum

Thank you for contacting UrduPoint.com.

If you wrote about some question or problem, we will respond as soon as we can.  Our 
response time varies with the volume of questions received, but it's important to us 
to provide a response. Your patience is appreciated. 

If you offered comments or suggestions, thank you for taking the time to contact us. 
We value your feedback. Your suggestion is valued and will be considered by the 
appropriate personnel.  Knowing user likes and dislikes is very important in helping 
us continue to create a better and more relevant site. However, due to the volume of 
emails we receive, we cannot respond to each one. 

Sincerely,
The UrduPoint.com Team
The future of Pakistan
http://www.UrduPoint.com



(This is an auto generated Message)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Joining Domain

2004-07-29 Thread Christian . Wittmer
[EMAIL PROTECTED] (gbengadada)
Sent by: 
[EMAIL PROTECTED]
29.07.2004 11:42

 
To: [EMAIL PROTECTED]
cc: 
Subject:[Samba] Joining Domain


Good Day,

I downloaded samba-2.2.9, installed and configuted it on a Solaris 5.7 
system.

I have configured it as a PDC, however whenever i try to join the domain 
i have created, Windows ask that i enter a username  and password 
authorized to join systems to the domain. 

Normally with a Windows 2000 server entering the administrators username 
and password will do it, however I get this error message: 

The following error occured attempting to join the domain 
sambadomain.net:

Logon failure:unknown user name or bad password.

How can i correct this error.
If you try to use Administrator for joining machine to domain you should 
have a User Administrator on Unix-side with uid=0.
And don't forget to add Administrator to smbpasswd if you use this file 
as backend.
Then it should work. 

Thanks for your anticipated co-operation
No problem.

Christian
--- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Linux smbfs differences

2004-07-29 Thread Micha Kersloot
Hi,
On 29-jul-04, at 12:26, Gabor Kiss [Bitman] wrote:
smbmount //server/share /mountpoint -o uid=100,gid=100
makes all the files owned by uid 100 on a 2.4 kernel. The same 
command
on a 2.6 kernel makes the mountpoint owned by uid 100, the rest of 
the
files have the uid's as set on the server.
Is CONFIG_SMB_UNIX enabled in 2.4 kernels?
  | CONFIG_SMB_UNIX:
  |
  | Enabling this will make smbfs use the CIFS Unix Extensions if
  | supported by the server. These extensions allows use of unix user
  | ids, permissions, file modes, symlinks, etc that normally do not
  | work on smbfs.
  |
  | Samba 3.0 servers supports these extensions.
No, that is not enabled, but I can't find the option in the .config of
2.4 or 2.6.
This is true for 2.6 (I guess extensions are always enabled)
but my 2.4 config is here:
#
# Network File Systems
#
...
CONFIG_SMB_FS=m
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE=utf8
CONFIG_SMB_UNIX=y
I think your Linux vendor has patched your sources. Because if I look 
in the original sources 
(http://lxr.linux.no/source/arch/i386/defconfig?v=2.4.26) there is no 
such option. On the other hand, it doesn't make clear why several 
options need to be ignored.

Greetings,
Micha Kersloot
http://www.kovoks.nl/
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: AW: [Samba] Samba - LDAP - User cannot loginfrom 1workstation

2004-07-29 Thread Bert_De_Ridder
I have tried everything : logging of the user; rebooting machines... 

I have thought about giving a new username; but there are lots of programs 
installed on his machine; all with registry dependencies (Delphi 5 for 
one) and creating a new user would make him loose all his settings (we 
don't save the profile on the servers) 

Samba sid et all are correct. 

Bert De Ridder
 




Arno Seidel [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
29/07/2004 11:01
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
AW: [Samba] Samba - LDAP - User cannot loginfrom1workstation






Hi,

i?m wondering about that this behavior is only for one user..
why does another user in the same segment of the domain not behave 
similar?
How did you changed the users to try?? Did you just log of the user 
mschijva
and logged on with a diffrent user again..
or did you restart the computer and logged in as a diffrent user?
just a silly question: when this is the only one user with that behavior 
why
you don?t give him a new
username?
Did you checked the uid / samba-SID and any nurmeric value of that user in
his ldap-entry?

  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Gesendet: Mittwoch, 28. Juli 2004 15:09
  An: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Betreff: Re: AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot 
loginfrom
1workstation



  It becomes VERY weird...

  This afternoon I witnessed the following : the user logged on to his pc;
accessed his home directory on the PDC; no problema; accessed another 
share
on the PDC; no problema; accessed a share on the BDC : connection refused.
Going back to the PDC to access the home directory : connection refused.

  However; there were NO error entries in the logs on either Samba server.
Only entries like these :
  [2004/07/28 13:29:38, 1] smbd/service.c:make_connection_snum(619)
allier (192.168.0.190) connect to service cvs initially as user 
mschijva
(uid=1015, gid=100) (pid 22284)

  I'm completely lost now


  Bert De Ridder



Arno Seidel [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
28/07/2004 11:24 Please respond to
  [EMAIL PROTECTED]


   To [EMAIL PROTECTED]
  cc [EMAIL PROTECTED]
  Subject AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot
loginfrom1workstation







  Hi,

  what os does the client have? W98?

  in the system-controll folder there should be a icon (in german called
  Verwaltung) whre the local policies , the settings for odbc ...and mor
  are... there should be also an icon called
  eventmanager / display... maybe there is a log entry?

  Did you see some errrors on the samba side (instead of the connection
reset
  by peer) if you try a higher debug-/log-level?

  the other way is, that you back-up the users home-directory, and his
  roaming-profile and completely remove him and (from windows / ldap / 
samba
  ...) and readd him as a new
  user with a empty home and profile-directory... and then just put the
  saved-files (from the profile / homedirectory in the new created profile 
/
  home-directory in.
  it could be that there are some settings in the profile are wrong.




  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Gesendet: Mittwoch, 28. Juli 2004 08:23
  An: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Betreff: Re: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
  workstation



   Yes, I have checked the LDAP entry; I even recreated it; I tried the
  user/pwd on 3 other machines : 2000 Prof. Wks; 2000 Server and XP Prof.
   The local permissions on the machine are OK; I can add the domain user 
to
  the local admin. group, so that should be ok.

   I agree that it is not a server-side issue; but where on the client can 
I
  start searching for errors ?


   Regards,

   Bert De Ridder

   PeopleWare NV - Head Office
   Cdt.Weynsstraat 85
   B-2660 Hoboken
   Tel: +32 3 448.33.38
   Fax: +32 3 448.32.66

   PeopleWare NV - Branch Office Geel
   Kleinhoefstraat 5
   B-2440 Geel
   Tel: +32 14 57.00.90
   Fax: +32 14 58.13.25

   http://www.peopleware.be
   http://www.mobileware.be


 Arno Seidel [EMAIL PROTECTED]
 Sent by: 
[EMAIL PROTECTED]
 27/07/2004 17:56 Please respond to
   [EMAIL PROTECTED]


To [EMAIL PROTECTED]
   cc
   Subject AW: AW: AW: [Samba] Samba - LDAP - User cannot
  loginfrom1workstation







   Hi,

   did you check the ldap-entry for that user?? maybe there is a 
mistake...
   are the other workstations you tried w2k too?
   are the local permissions on the workstation for that user correct???
   maybe there is a local-policy...
   maybe there is a user-workstation entry in the ldapaccount...

   i don?t think that it has something to do with the configuration of the
   samba /ldap servers, because other pc?s on the same 

Re: [Samba] need some advice

2004-07-29 Thread Greg Folkert
On Thu, 2004-07-29 at 05:18, [EMAIL PROTECTED] wrote:
 hi,
 
 i've several - for me - big problems. i've posted here several times and 
 only got generic or no replies. as my problmes ge more and more urgent i 
 need some help. where can i get this ? what do i have to do. i'm realy 
 desperate ..

Matthias, please, in one long drawn out e-mail, again:

1. List your problems, as quite detailed as possible. Including Samba
version, configure options used, what type of environment you are using
besides samba, the OSes involved with the problems.

2. List your steps you have taken to solve these issues, including
google search queries used (just the search terms), options
enabled/disabled/changed, Libraries you have updated, and so on.

3. Give us Level 6, 7, 8, 9 or 10 samba log snippets showing the
problems, the error codes the Windows side is getting.

4. Give us a sanitized copies of you smb.conf, krb5.conf, slapd.conf and
any other conf you are using... including scripts to add users, delete
users etc

Otherwise, you will only get a generic response. *IF* someone can get
their arms around you problem, they may post a few fixes that may or may
not work. This is the way of this list, we are not GODS (well except
Jerry, John and Gerald (plus a few others on the samba team))

-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster:  Linux


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Linux smbfs differences

2004-07-29 Thread Gabor Kiss [Bitman]
  but my 2.4 config is here:
  #
  # Network File Systems
  #
  ...
  CONFIG_SMB_FS=m
  CONFIG_SMB_NLS_DEFAULT=y
  CONFIG_SMB_NLS_REMOTE=utf8
  CONFIG_SMB_UNIX=y

 I think your Linux vendor has patched your sources. Because if I look
 in the original sources

I compile myself my kernels from original sources.

 (http://lxr.linux.no/source/arch/i386/defconfig?v=2.4.26) there is no
 such option.

This because CONFIG_SMB_FS is not set.

Check the _original_ source:

$ ls -l linux-2.4.26/fs/smbfs/proc.c
-rw-r--r--1 root root   83490 Apr 14 15:05 linux-2.4.26/fs/smbfs/proc.c
$

Its content:

int
smb_newconn(struct smb_sb_info *server, struct smb_conn_opt *opt)
{
...
#ifndef CONFIG_SMB_UNIX
server-opt.capabilities = ~SMB_CAP_UNIX;
#endif
if (server-opt.capabilities  SMB_CAP_UNIX) {
struct inode *inode;
VERBOSE(Using UNIX CIFS extensions\n);
install_ops(server-ops, smb_ops_unix);
inode = SB_of(server)-s_root-d_inode;
if (inode)
inode-i_op = smb_dir_inode_operations_unix;
}


linux-2.4.26/fs/smbfs/Changelog writes:
2004-01-24 John Newbigin [EMAIL PROTECTED]

* *.c: Implementation of CIFS Extensions for UNIX systems


 such option. On the other hand, it doesn't make clear why several
 options need to be ignored.

I've no inten^H^H^Hformation to answer this question. ;-)
I just pointed out that you CAN achieve identical (however unwanted)
behavior of 2.4 and 2.6 smbfs implementation.

Gabor
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Redundancy in samba

2004-07-29 Thread Sensei
Hi.

I'm new to samba, so I don't know many things. I have a big
infrastructure based on kerberos, ldap and afs. All our linux clients
log nicely on the cell, no problem. The problem is as everywhere...
windows. I'm trying to make windows log on the cell, using samba (I will
try tomorrow to set up a domain). The questions about samba will come
later on, so expect me to bother you :)


Now, I have more than one server supplying all the needed services, and
I ask you: is it possible to set up more than one pc supplying samba
services for the same domain?
-- 
Senseimailto:[EMAIL PROTECTED]
  icqnum:241572242
  msn-id:[EMAIL PROTECTED]
Error: Keyboard not found. Press F1 to continue...

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Cannot login to PDC(FreeBSD boxen) from client(win XP)

2004-07-29 Thread Chris E
I'm well aware of that. I didn't say new to networking, just windows 
networking. :)) They both have different names and there are only two 
pc's, the PDC and the XP client. I've changed the XP machines name 
repeatedly and rebooted each time as the machine requests and it still 
doesn't work. I only wish it was easy as the error says. Thanks for your 
reply though!

Craig White wrote:
On Wed, 2004-07-28 at 11:08, Chris E wrote:
 

I'm finally getting somewhere in setting up my FreeBSD PDC. I try and 
login via my XP client and now it gives me this odd message. Cannot 
login because a duplicate user already exists on the network. Please 
goto control panel and system and change your computer name. Sorta 
paraphrased there, perhaps off by a word or two but that's pretty 
much what it tells me. I'm just using system users and smbpasswd for 
setting up users. Not sure what other info may be needed. The 
following is my smb.conf and my logs. I'm new to Samba and windows 
networking in general so go easy. =) Thanks in advance.
  
---
basic network rule = each computer must have a different name. Windows
XP - Start - Settings - Control Panel - System
Computer Name (tab) - Change Name (pick something unique)
Craig
 


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba and ISA Server

2004-07-29 Thread Julien Bordet
Hi everybody,
 
I have a Samba 3.0.4 PDC configured on my network. Previously, there was a Windows NT 
4 PDC, that was migrated to my Samba / OpenLDAP configuration.
 
Everything is working fine, except our ISA Server.
 
Indeed, ISA Server was previously configured to let users that belong to the Internet 
Access group to surf. During the migration phase, we did not change anything.
 
Now it works, but very very slowly, and by far slower than before the migration.
 
Tracing the network data between the ISA server and the Samba Server, and having a 
look at the openLDAP log file make me think that ISA Server tries to authenticate user 
for each request, and not once per session. Indeed, I've got much network traffic, 
lots a LDAP requests like that :
 
Jul 29 15:22:36 ldap slapd[25440]: conn=2 op= SRCH base=dc=test,dc=fr scope=2 
filter=((uid=USER1)(objectClass=sambaSamAccount))
 
and much load on the server, because of slapd processes. If I turn off ISA server, 
everything is OK and normal.
 
So is NTLM authentication different in Samba than in Windows NT PDC ? What would you 
advise me ?
 
Many thanks
 
Julien

--
My smb.conf file :
 

[Global]
workgroup = RUEIL1
netbios name = LDAP
server string = SAMBA-LDAP PDC
username map = /etc/samba/smbusers
encrypt passwords = yes
interfaces = 172.16.0.115/16
domain logons = Yes
os level = 65
domain master = Yes
local master = Yes
preferred master = Yes
security = user
wins support = Yes
name resolve order = wins bcast lmhosts host
admin users = install administrateur
passdb backend = ldapsam:ldap://localhost
ldap admin dn = cn=samba,ou=DSA,dc=mairie-rueilmalmaison,dc=fr
ldap ssl = off
ldap delete dn = yes
ldap user suffix = ou=Utilisateurs
ldap group suffix = ou=Groupes
ldap machine suffix = ou=Machines
ldap suffix = dc=mairie-rueilmalmaison,dc=fr
ldap idmap suffix = ou=Utilisateurs
ldap passwd sync = yes
Dos charset = 850
Unix charset = ISO8859-1
log level = 1
#log level = 3
log file = /var/log/samba/%m.log
max log size = 10
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE IPTOS_LOWDELAY
logon script = logon.bat
logon drive = H:
logon home =
logon path =
add machine script = /usr/local/sbin/smbldap-useradd -w %u
add user script = /usr/local/sbin/smbldap-useradd -m %u
add group script = /usr/local/sbin/smbldap-groupadd -p %g
add user to group script = /usr/local/sbin/smbldap-groupmod -m %u %g
#delete user from group script = /usr/local/sbin/smbldap-groupmod -x %u %g
set primary group script = /usr/local/sbin/smbldap-usermod -g %g %u
[homes]
comment = Rpertoires utilisateurs
valid users = %U
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[netlogon]
path = /var/lib/samba/netlogon
browseable = No
read only = Yes

 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] move samba file and print shares

2004-07-29 Thread Hamish
Hello all
Is this possible?:
samba3.0.3pre2 running as domain member with winbind, acls on reiser 
providing file security
this is all on a seperate disk mounted as 'data1'

Could I take this disk, put it in a new box, mount it again as data1, 
then copy the old smb.conf over to the new box? (I would also join the 
domain with the same name as the old box)

Thanks in advance,
H
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] need some advice

2004-07-29 Thread lists
hi greg,
thanks for you reply - just unbelivable that i got one ...
--On Donnerstag, Juli 29, 2004 08:16:15 -0400 Greg Folkert 
[EMAIL PROTECTED] wrote:

| 1. List your problems, as quite detailed as possible. Including Samba
| version, configure options used, what type of environment you are using
| besides samba, the OSes involved with the problems.
i've tried all these - what i got was a generic response - e.g. don't use 
win98, use w2k - this is not constructive i think ...

| 2. List your steps you have taken to solve these issues, including
| google search queries used (just the search terms), options
| enabled/disabled/changed, Libraries you have updated, and so on.
|
| 3. Give us Level 6, 7, 8, 9 or 10 samba log snippets showing the
| problems, the error codes the Windows side is getting.
|
| 4. Give us a sanitized copies of you smb.conf, krb5.conf, slapd.conf and
| any other conf you are using... including scripts to add users, delete
| users etc
well there we hit an other problem of this ML, the size limit. this will 
generate easylie mail's of 3, 4 or more MB. i've treid to place logs etc. 
to my website - without a single reply to my requests.

| Otherwise, you will only get a generic response. *IF* someone can get
| their arms around you problem, they may post a few fixes that may or may
| not work. This is the way of this list, we are not GODS (well except
| Jerry, John and Gerald (plus a few others on the samba team))
sorry, but i'm very, very, frustrated at the moment ... but, i will try 
this again. lets see if i can get a constructive response ...

cheers
matthias
--
Matthias Henze[EMAIL PROTECTED]
Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
MHC SoftWare GmbH  voice: +49-(0)9533-92006-0
Fichtera 17  fax: +49-(0)9533-92006-6
96274 Itzgrund/Germanye-Mail: [EMAIL PROTECTED]
- - - - - - - - - - - - - - - - - - - - - - - - - - - -


pgpj60ilz1h2L.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba and ISA Server

2004-07-29 Thread Umberto Zanatta
Your ISA server is searching USER1 on ldap server.

Did you migrate all users?

You should try:

# ldapsearch -x -W -D 'cn=admin,dc=test,dc=fr uid=USER1

or

# ldapsearch -w -D -D 'cn=admin,dc=test,dc=fr  all.ldif. it will make
a text file with all information about your ldap db.

where cn=admin,dc=test,dc=fr is your admin user in ldap system (look at
slapd.conf) (binddn)

On request give your bind ldap password.

Il gio, 2004-07-29 alle 15:30, Julien Bordet ha scritto:

 Hi everybody,
  
 I have a Samba 3.0.4 PDC configured on my network. Previously, there was a Windows 
 NT 4 PDC, that was migrated to my Samba / OpenLDAP configuration.
  
 Everything is working fine, except our ISA Server.
  
 Indeed, ISA Server was previously configured to let users that belong to the 
 Internet Access group to surf. During the migration phase, we did not change 
 anything.
  
 Now it works, but very very slowly, and by far slower than before the migration.
  
 Tracing the network data between the ISA server and the Samba Server, and having a 
 look at the openLDAP log file make me think that ISA Server tries to authenticate 
 user for each request, and not once per session. Indeed, I've got much network 
 traffic, lots a LDAP requests like that :
  
 Jul 29 15:22:36 ldap slapd[25440]: conn=2 op= SRCH base=dc=test,dc=fr scope=2 
 filter=((uid=USER1)(objectClass=sambaSamAccount))
  
 and much load on the server, because of slapd processes. If I turn off ISA server, 
 everything is OK and normal.
  
 So is NTLM authentication different in Samba than in Windows NT PDC ? What would you 
 advise me ?
  
 Many thanks
  
 Julien
 
 --
 My smb.conf file :
  
 
 [Global]
 workgroup = RUEIL1
 netbios name = LDAP
 server string = SAMBA-LDAP PDC
 username map = /etc/samba/smbusers
 encrypt passwords = yes
 interfaces = 172.16.0.115/16
 domain logons = Yes
 os level = 65
 domain master = Yes
 local master = Yes
 preferred master = Yes
 security = user
 wins support = Yes
 name resolve order = wins bcast lmhosts host
 admin users = install administrateur
 passdb backend = ldapsam:ldap://localhost
 ldap admin dn = cn=samba,ou=DSA,dc=mairie-rueilmalmaison,dc=fr
 ldap ssl = off
 ldap delete dn = yes
 ldap user suffix = ou=Utilisateurs
 ldap group suffix = ou=Groupes
 ldap machine suffix = ou=Machines
 ldap suffix = dc=mairie-rueilmalmaison,dc=fr
 ldap idmap suffix = ou=Utilisateurs
 ldap passwd sync = yes
 Dos charset = 850
 Unix charset = ISO8859-1
 log level = 1
 #log level = 3
 log file = /var/log/samba/%m.log
 max log size = 10
 time server = Yes
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE 
 IPTOS_LOWDELAY
 logon script = logon.bat
 logon drive = H:
 logon home =
 logon path =
 add machine script = /usr/local/sbin/smbldap-useradd -w %u
 add user script = /usr/local/sbin/smbldap-useradd -m %u
 add group script = /usr/local/sbin/smbldap-groupadd -p %g
 add user to group script = /usr/local/sbin/smbldap-groupmod -m %u %g
 #delete user from group script = /usr/local/sbin/smbldap-groupmod -x %u %g
 set primary group script = /usr/local/sbin/smbldap-usermod -g %g %u
 [homes]
 comment = Rpertoires utilisateurs
 valid users = %U
 read only = No
 create mask = 0664
 directory mask = 0775
 browseable = No
 [netlogon]
 path = /var/lib/samba/netlogon
 browseable = No
 read only = Yes
 
  
 
 
 __
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

___
Umberto Zanatta
linuxDidattica

tel: +39 (335) 54 71 385
email: [EMAIL PROTECTED]
web: http://linuxdidattica.org
___
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] 2003 KDC and Samba

2004-07-29 Thread Tran Charles A Civ OC-ALC/ITMA

We have serveral RHEL 3.0 Update 2 servers running Samba.
These have been working flawlessly for several months..

Recently, the base upgraded all the Windows 2000 servers
to Windows 2003.. 
NOTE: we don't have admin rights to the Domain Controllers.. (wish we did..)

Previous to the Domain (and kdc) controllers to 2003 we had
no issues joining a new Samba Sever to the ADS..

Using the same krb5.conf and kdc.conf and smb.conf file.. it 
is no longer possible to join a Samba 3.0 server to the domain..

Any help direction is appreciated..
VR
Charles

Samba packages
-
samba-common-3.0.4-6.3E
samba-3.0.4-6.3E
samba-client-3.0.4-6.3E

Kerberos Packages..
-
pam_krb5-1.73-1
krb5-libs-1.2.7-24
krb5-workstation-1.2.7-24
krbafs-1.1.1-11
krbafs-utils-1.1.1-11
krb5-server-1.2.7-24
krbafs-devel-1.1.1-11
krb5-devel-1.2.7-24


Things tried..(per the samba docs. this is the first step..)

kinit [EMAIL PROTECTED] 
error..
kinit(v5): KRB5 error code 52 while getting initial credentials

net ads join /IT/Computers/Servers-2 -U adminOFthisOU
error..
kerberos_kinit_password [EMAIL PROTECTED] failed: KRB5 error
code 52

Not much on google about this error.. 

krb5.conf
**
logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 ticket_lifetime = 24000
 default_realm = USAF.AFMC.DS.AF.MIL
#  default_tgs_enctypes = rc4-hmac
#  default_tkt_enctypes = rc4-hmac
  dns_lookup_realm = false
  dns_lookup_kdc = false

[realms]
 USAF.AFMC.DS.AF.MIL = {
  kdc = xxx.xxx.xxx.241:88
  admin_server = xxx.xxx.xxx.241:749
  default_domain = usaf.af.mil
 }

[domain_realm]
 .usaf.af.mil = USAF.AFMC.DS.AF.MIL
 usaf.af.mil = USAF.AFMC.DS.AF.MIL

[kdc]
 profile = /var/kerberos/krb5kdc/kdc.conf

[appdefaults]
 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false
*
kdc.conf
*
[kdcdefaults]
 acl_file = /var/kerberos/krb5kdc/kadm5.acl
 dict_file = /usr/share/dict/words
 admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab
 v4_mode = nopreauth

[realms]
 USAF.AFMC.DS.AF.MIL = {
  master_key_type = des-cbc-crc
  supported_enctypes = des3-cbc-sha1:normal des3-cbc-sha1:norealm
des3-cbc-sha1:onlyrealm des-cbc-crc:v4 des-cbc-crc:afs3 des-cbc-crc:normal
des-cbc-crc:norealm des-cbc-crc:onlyrealm des-cbc-md4:v4 des-cbc-md4:afs3
des-cbc-md4:normal des-cbc-md4:norealm des-cbc-md4:onlyrealm des-cbc-md5:v4
des-cbc-md5:afs3 des-cbc-md5:normal des-cbc-md5:norealm
des-cbc-md5:onlyrealm des-cbc-sha1:v4 des-cbc-sha1:afs3 des-cbc-sha1:normal
des-cbc-sha1:norealm des-cbc-sha1:onlyrealm
 }
*
smb.conf
*[global]
workgroup = USAF-2K
realm = USAF.AFMC.DS.AF.MIL
server string = 
security = ADS
obey pam restrictions = Yes
password server = xxx.xxx.xxx.241
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
log file = /var/log/samba/%m.log
max log size = 0
announce version = 5.0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = No
local master = No
domain master = No
wins server = 10.50.1.52
ldap ssl = no
idmap uid = 1-2
idmap gid = 1-2
template shell = /bin/bash
#   winbind separator = +
#   valid users = @oracle
printing = cups

[testshare]
comment = System Share
path = /home2/share
force group = share
writeable = yes
case sensitive = Yes
hide dot files = No


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Joining Domain

2004-07-29 Thread Kang Sun
I think with Samba2 you still need to turn off one of the paramenters in the
registery. I don't remember the name exactly something about sign or seal.
-- Kang
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
tware.com...
 [EMAIL PROTECTED] (gbengadada)
 Sent by:
 [EMAIL PROTECTED]
 29.07.2004 11:42


 To: [EMAIL PROTECTED]
 cc:
 Subject:[Samba] Joining Domain


 Good Day,

 I downloaded samba-2.2.9, installed and configuted it on a Solaris 5.7
 system.

 I have configured it as a PDC, however whenever i try to join the domain
 i have created, Windows ask that i enter a username  and password
 authorized to join systems to the domain.

 Normally with a Windows 2000 server entering the administrators username
 and password will do it, however I get this error message:

 The following error occured attempting to join the domain
 sambadomain.net:

 Logon failure:unknown user name or bad password.

 How can i correct this error.
 If you try to use Administrator for joining machine to domain you should
 have a User Administrator on Unix-side with uid=0.
 And don't forget to add Administrator to smbpasswd if you use this file
 as backend.
 Then it should work.

 Thanks for your anticipated co-operation
 No problem.

 Christian
 ---
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba



 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Clients loose connection

2004-07-29 Thread Dirk Wagner
Hi there,
I set up a Samba 3. Server on a SUSE 9.1 box, working as a PDC.
There are Win9X and Win2K Clients connecting to the server.
At a certain time (has been at 1 to 48 hours of uptime), the clients 
loose connection to the server.
At this point, it is not possible to log into the server on a new 
terminal window, but running processes are still running and reacting.

I disconnected the server from the network to see, if some odd 
traffic is causing the problem - but no change in bahavior.

tcpdump shows also nothing striking.
top -i shows 25 entries with smbd:
6065 root 0 8980 3296 7468 D 0.0 0.0 0:00.00 smbd
...
6078 root 0 8980 3296 7468 D 0.0 0.0 0:00.00 smbd
24 times with user root and one time with an other user (the one who 
mentioned the disconnection first)
all the entries were looking like shown above.

At this point, I can end top and tcpdump but halt shows no reaction...
So I have to reboot the server by cuting the power-cord...
I already changed the NIC in the server (from Realtek to 3Com) and 
did the same at one of the clients.
After dooing so, the system was running fine for a longer time, but 
finaly failed also.

Any ideas?
Thanks
Dirk
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Joining Linux to Windows 2000 domain

2004-07-29 Thread Hamish
Hi Tim
You might not see the e2efileserver there because you are not running 
netbios - this is easy to check, just type `/etc/init.d/nmb start`. This 
will start the netbios daemon and you should then be able to get to your 
server from windows explorer by \\e2efileserver.
You will also need to make sure all those services start when the server 
reboots (hopefully not too often!), im not too sure how fedora gives a 
gui to your services, but from a console this should work: `chkconfig 
--level 35 smb on` repeat this for nmb and winbind (swap nmb etc for 
smb) - this will make samba winbind and nmb start when the server 
switches to runlevel 3 or 5 (by default you will be starting in runlevel 5).

Since you will be running e2efileserver as a domain member, I think it 
would be a good idea to also make sure it does not try to win browser 
elections (i may be wrong, but i saw some strange things happening when 
my server started trying) you can do this by adding: local master = no 
and preferred master = no to your smb.conf

Hopefully that should give you all you need to run ;)
H
Tim Barone wrote:
Hamish, thanks so much for getting back to me! I made sure to follow 
all of your suggestions. Also, I made a few changes to smb.conf and 
now wbinfo -u gives me a list of users and wbinfo -g gives me a list 
of groups. Making some progress!!!

I made the following changes to smb.conf:
security = ads
When I go to a Windows machine and view the entire network, I do not 
see an e2efileserver icon (e2efileserver is my Linux box). Any further 
ideas on what I can do

Tim

From: Hamish [EMAIL PROTECTED]
To: Tim Barone [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [Samba] Joining Linux to Windows 2000 domain
Date: Thu, 29 Jul 2004 09:42:18 +0100
Make sure winbind is running (have you edited nsswitch.conf to 
include winbind?) and that nscd is not running. You can stop nscd and 
restart all the samba services with `/etc/init.d/nscd stop` then 
`/etc/init.d/smb restart` `/etc/init.d/nmb restart` 
`/etc/init.d/winbind restart`
Hope this helps

Tim Barone wrote:
Hello, I am new to Linux, Samba, and actually servers in general. I 
am attempting to set up a Linux file server and join it to a Windows 
2000 domain. All I want to be able to do is get files from the linux 
file server and put files on it. I do not want it to be the domain 
controller.

I join the domain using: net join -S 10.10.10.40 
-UAdministrator%password

It tells me that I have joined the domain.
wbinfo -t  wbinfo -p work fine!
Wbinfo -u gives me: Error looking up domain members
Wbinfo -g gives me: Error looking up domain groups
Any ideas on what to do?
Thanks a bunch!
Linux is Fedora Core 1
Samba is 3.0
smb.conf file:
[global]
workgroup = EIIECOMM
netbios name = e2efileserver1
realm = EIIECOMM.COM
idmap uid = 1 - 15000
idmap gid = 1 - 15000
winbind separator = +
winbind use default domain = Yes
use sendfile = Yes
server string= Samba Server
printcap anme = /etc/printer
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
security = domain
password server = *
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
os level = 33
wins support = no
wins server = 10.10.10.40 (I'm not sure this is a wins server)
dns proxy = no
[homes]
comment = Home Directories
valid users = %S
browseable = yes
writeable = yes
[tmp]
comment = Temporary file space
path = /tmp
writeable = yes
guest ok = yes
[public]
comment = Data
path = /export/public
public = yes
writeable = yes
_
Is your PC infected? Get a FREE online computer virus scan from 
McAfee Security. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

_
Overwhelmed by debt? Find out how to Dig Yourself Out of Debt from 
MSN Money. http://special.msn.com/money/0407debt.armx


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] move samba file and print shares

2004-07-29 Thread Manfred Odenstein
Hello,

Am Donnerstag, 29. Juli 2004 15:47 schrieb Hamish:
 Hello all
 Is this possible?:

 samba3.0.3pre2 running as domain member with winbind, acls on reiser
 providing file security
 this is all on a seperate disk mounted as 'data1'
you have to check, if your ReiserFS implementation supports ACL


 Could I take this disk, put it in a new box, mount it again as data1,
 then copy the old smb.conf over to the new box? (I would also join the
 domain with the same name as the old box)
1.) My proposal is only a suggestion with no working waranty :-), maybe 
another will post the right way
2.) if you use LDAP for you id mapping, it should work, you also have to 
transfer the winbind tdb(s) (should be located in /var/lib/samba/ to the new 
box. Maybe it's better to transfer the whole directory (/var/lib/samba) and 
also the security tdb(s), located elsewhere (distribution dependent), then 
its not nescessary to join the domain again, then you have all your printer 
default settings, drivers, and so on.

regards odi

 Thanks in advance,
 H
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] XP does not join domain

2004-07-29 Thread lists
hi,
i've the following problem: i want a XP pro sp1 to join my samba (3.0.5) 
domain (MHC). with my first try it complained that it could not resolve:

_ldap._tcp.dc._msdcs.MHC
i've fixed this with the following DNS setup:
--
_ldap._tcp.MHC. 600 IN SRV 
0 100 389 server.MHC.
_ldap._tcp.Default-First-Site-Name._sites.MHC.  600 IN SRV 
0 100 389 server.MHC.
_ldap._tcp.pdc._msdcs.MHC.  600 IN SRV 
0 100 389 server.MHC.
_ldap._tcp.gc._msdcs.MHC.   600 IN SRV 
0 100 3268 server.MHC.
_ldap._tcp.Default-First-Site-Name._sites.gc._msdcs.MHC.600 IN SRV 
0 100 3268 server.MHC.

gc._msdcs.MHC. 600 IN A 192.168.100.100
_kerberos._tcp.dc._msdcs.MHC.   600 IN SRV 
0 100 88 server.MHC.
_kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.MHC.600 IN SRV 
0 100 88 server.MHC.
_ldap._tcp.dc._msdcs.MHC.   600 IN SRV 
0 100 389 server.MHC.
_ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.MHC.600 IN SRV 
0 100 389 server.MHC.
_kerberos._tcp.MHC. 600 IN SRV 
0 100 88 server.MHC.
_kerberos._tcp.Default-First-Site-Name._sites.MHC.  600 IN SRV 
0 100 88 server.MHC.
_gc._tcp.MHC.   600 IN SRV 
0 100 3268 server.MHC.
_gc._tcp.Default-First-Site-Name._sites.MHC.600 IN SRV 
0 100 3268 server.MHC.
_kerberos._udp.MHC. 600 IN SRV 
0 100 88 server.MHC.
_kpasswd._tcp.MHC.  600 IN SRV 
0 100 464 server.MHC.
_kpasswd._udp.MHC.  600 IN SRV 
0 100 464 server.MHC.
MHC. 600 IN A 192.168.100.100
--

i do not use ldap or kerberos by now. i've apllied the XP reg patches. now, 
i get the following (german, sorry) message:

--
Hinweis: Diese Informationen sind für einen Netzwerkadministrator bestimmt. 
Wenden Sie sich an den Netzwerkadministrator, wenn Sie kein 
Netzwerkadministrator sind, und leiten Sie die Informationen in der Datei 
C:\WINDOWS\debug\dcdiag.txt weiter.

Der Domänenname MHC ist möglicherweise ein NetBIOS-Domänenname. Sollte 
dies der Fall sein, stellen Sie sicher, dass der Name bei WINS registriert 
ist.

Wenn Sie sicher sind, dass es sich nicht um einen NetBIOS-Domänennamen 
handelt, können folgende Information bei der Fehlersuche in der 
DNS-Konfiguration behilflich sein:

Die DNS-Abfrage über den Ressourceneintrag der Dienstidentifizierung (SRV), 
der zur Suche eines Domänencontrollers für die Domäne MHC verwendet wird, 
wurde ordnungsgemäß abgeschlossen:

Die Abfrage war für den SRV-Eintrag für _ldap._tcp.dc._msdcs.MHC
Die folgenden Domänencontroller wurde von der Abfrage identifiziert:
server.mhc
Die häufigsten Ursachen dieses Fehlers sind:
- Host (A)-Einträge, die den Namen des Domänencontroller dessen IP-Adressen 
zuordnen, fehlen oder enthalten nicht die richtigen Adressen.

- Die in DNS registrierten Domänencontroller verfügen nicht über eine 
Netzwerkverbindung oder werden nicht ausgeführt.

Klicken Sie auf Hilfe, um weitere Informationen über die Fehlerbehebung 
zu erhalten.
--

server.mhc IS resolvable. even from this XP. i've started a tcpdump on the 
samba server. and while i try to join the domain i do not see a single 
packate origination form the XP machine. due to this here are no samba 
log's. it even does not try to connect to the samba server. there is no 
firewall etc. installed on the XP.

when i do local auth and the try to connect to samba every thing works as 
expected.

any suggestions ?
TIA
matthias
--
Matthias Henze[EMAIL PROTECTED]
Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
MHC SoftWare GmbH  voice: +49-(0)9533-92006-0
Fichtera 17  fax: +49-(0)9533-92006-6
96274 Itzgrund/Germanye-Mail: [EMAIL PROTECTED]
- - - - - - - - - - - - - - - - - - - - - - - - - - - -


pgpEZyUwuCv9g.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Solution?: Building Samba 3.0.5 on HP-UX 11.11

2004-07-29 Thread topher
well -- after MUCH messing about, and traipsing through the source
code, and traversing through the configure scripts -- and tracking
down libraries and library dependencies -- and header files... (you
get the general idea here) --

rebuild a server to test a theory, and it appears to hold true -- if
you install the 'regular' Operating Environment Component, there are
actually libraries around that are totally botched and messed up --
all kinds of flaws in them...  swlist HPUX11i-OE will tell you if you
have this configuration -- if it comes back with information, that's
what you have installed, and you're kinda up a tree...

IF, however, you installed the HP-UX Technical Computing OE Component
(HPUX11i-TCOE) those libraries are fixed -- and you are able to
configure, make, and make install HP with no problems...  (until you
try to access the IPC$ share on the HP host with a Mac OS X system,
then you get problems, but you can map directly to the specific share
without any problems at all..  go figure) --

SO -- if you can get your hands on a TCOE system, you can run
'configure --disable-shared --enable-statid' and then you can port
your /usr/local/samba directory around to the various other servers --
it appears to be stable thus far, and I'm just gonna keep my fingers
crossed

no -- I don't have any clue how you get from OE to TCOE without
re-installing -- sorry for that one...

later all!

toph


-- Forwarded message --
From: topher [EMAIL PROTECTED]
Date: Wed, 28 Jul 2004 13:32:25 -0400
Subject: Fwd: Building Samba 3.0.5 on HP-UX 11.11
To: [EMAIL PROTECTED]

got a couple of requests for further information -- so here's an update:

yes, I've done the configure and make as root and as a regular user,
things die with either compiler in the same place I'm afraid

yes, I've run 'autoconf' before running configure, and the only
difference I've seen is that the errors during configure get more
'stuff' wrapped around them to make them more apparent...  the errors
in the log are the same --

here is the exact error message I get during make using gcc:

Compiling dynconfig.c
In file included from include/includes.h:109,
 from dynconfig.c:21:
/usr/include/sys/socket.h:484: error: parse error before sendfile
/usr/include/sys/socket.h:484: error: parse error before bsize_t
/usr/include/sys/socket.h:486: error: parse error before sendpath
/usr/include/sys/socket.h:486: error: parse error before bsize_t
/usr/include/sys/socket.h:493: error: parse error before sendfile64
/usr/include/sys/socket.h:493: error: parse error before bsize64_t
/usr/include/sys/socket.h:495: error: parse error before sendpath64
/usr/include/sys/socket.h:495: error: parse error before bsize64_t
In file included from /usr/include/sys/mp.h:55,
 from /usr/include/sys/malloc.h:59,
 from /usr/include/net/netmp.h:53,
 from /usr/include/net/if.h:59,
 from include/includes.h:275,
 from dynconfig.c:21:
/usr/include/machine/sys/setjmp.h:45: error: redefinition of `struct label_t'
In file included from dynconfig.c:21:
include/includes.h:495: error: conflicting types for `socklen_t'
/usr/include/sys/socket.h:199: error: previous declaration of `socklen_t'
make: *** [dynconfig.o] Error 1

any other thoughts/suggestions are appreciated and MORE than welcome!

toph



-- Forwarded message --
From: topher [EMAIL PROTECTED]
Date: Wed, 28 Jul 2004 09:32:06 -0400
Subject: Building Samba 3.0.5 on HP-UX 11.11
To: [EMAIL PROTECTED]

First -- to avoid the common answers to the 'building on HP-UX'
questions that seem to be available on the list and the web:

1) using the depot from the Porting Center won't work, it's well
downrev of 3.0.5 and I need to get the new security fixes (so that the
security team will go back into it's dark dank den and fear not for
the security of our environment)

2) samba.org only has a 3.0.4a binary package for HP-UX -- so again,
no security fixes

as such, I'm trying to build 3.0.5 on HP-UX 11.11 -- and I'm running
into the same problem I pretty much always seem to run into:

if I use gcc (gcc 3.3.2 off the porting center), configure runs
through with several errors that look like:

configure: WARNING: foo/bar.h: present but cannot be compiled
configure: WARNING: foo/bar.h: check for missing prerequisite headers?
configure: WARNING: foo/bar.h: proceeding with the preprocessor's result

where foo and bar are any of about a dozen different headers...  I
suspect that if I could find a solution to this one, then I'd be able
to get somewhere -- the configure.log shows that the problem with the
headers is:

configure:9644: gcc -c -O   -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE
 -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4 -DMAX_POSITIVE_LOCK_OFFSET=0x1ff
LL conftest.c 5
In file included from configure:9622:
/usr/include/sys/socket.h:484: error: parse error before sendfile

[Samba] realm not recognised?

2004-07-29 Thread Bob Lansley
Hi,
I've installed Samba 3.0.2a and attempting to configure in
security = ads mode but at startup smbd and nmbd complain
that the realm (that defines the AD realm) parameter is unkown.
Has anyone seen and overcome this before ?
[2004/07/29 15:59:05, 0] param/loadparm.c:map_parameter(2410)
 Unknown parameter encountered: realm
[2004/07/29 15:59:05, 0] param/loadparm.c:lp_do_parameter(3048)
 Ignoring unknown parameter realm
Thanks,
Bob.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Cannot login to PDC(FreeBSD boxen) from client(win XP)

2004-07-29 Thread Craig White
 Craig White wrote:
 
  On Wed, 2004-07-28 at 11:08, Chris E wrote:
   
 
  I'm finally getting somewhere in setting up my FreeBSD PDC. I try and 
  login via my XP client and now it gives me this odd message. Cannot 
  login because a duplicate user already exists on the network. Please 
  goto control panel and system and change your computer name. Sorta 
  paraphrased there, perhaps off by a word or two but that's pretty 
  much what it tells me. I'm just using system users and smbpasswd for 
  setting up users. Not sure what other info may be needed. The 
  following is my smb.conf and my logs. I'm new to Samba and windows 
  networking in general so go easy. =) Thanks in advance.

 
  ---
  basic network rule = each computer must have a different name. Windows
  XP - Start - Settings - Control Panel - System
 
  Computer Name (tab) - Change Name (pick something unique)
 
  Craig

On Thu, 2004-07-29 at 01:12, Chris E wrote:
 I'm well aware of that. I didn't say new to networking, just windows 
 networking. :)) They both have different names and there are only two 
 pc's, the PDC and the XP client. I've changed the XP machines name 
 repeatedly and rebooted each time as the machine requests and it still 
 doesn't work. I only wish it was easy as the error says. Thanks for your 
 reply though!

OK but I try to believe in the accuracy of the messages.

Is it possible that you joined this WinXP system to the domain with a different name? 
If so, can you delete the computer account in the unix passwd and samba passdb? Then 
rejoin with the current unique name.

If you have never joined the computer to the domain, check /etc/hosts and 
/etc/samba/lmhosts to make sure that things are adequately represented. You also might 
want to stop samba, delete wins.dat and restart samba.

Craig

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] need some advice

2004-07-29 Thread Greg Folkert
Matthias, I have not read your thread about your problems at all.

I need the list of stuff I wanted. Yes there is a size limit, But we
don't NEED 10,000 lines of the log, just the pertinent stuff. Along the
lines of don't use Win98, I'd have to agree. But, then again, that
probably is not doable in your case.

Please let me be the first to say sorry for no responses. I tend to help
those that help themselves or the one that have demonstrated at least
some persistence.

And, don't think that I haven't gone through the same here. I was really
frustrated with an ADS/WindowsNT/2K/2K3/Samba/Applications Server/shell
access/e-mail setup recently... I'd have thank nobody for replying as
well on 2 separate events.

BUT, to go back to your stuff, The stuff I listed is what I need to
continue to help you, and maybe others will share the secrets they have
found.

So, go back to my first one just before this on... and answer those
questions, if need be multiple mails to overcome the size limit.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster: Linux


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Upgrade question - please be gentle! - failed dependencies?

2004-07-29 Thread Craig White
This is an act of pure desperation and nothing that I could ever in good
conscience suggest to someone. Not charming doesn't begin to describe
the consequences that may occur.

Craig

On Thu, 2004-07-29 at 03:36, rruegner wrote:
 Hi,
 i updated my systems with the killing method
 rpm --nodeps --force
 i know this is not charming but it worked with the suse packs since 
 samba 3.0 up to samba 3.04
 but i strongly recommend to test this first on a test system 
 Best Regards
 
 Hamish schrieb:
  Thanks for you help, I tried to update with rpm -Uvh and it found a lot 
  of failed dependencies: liblber.so.199, libldap.so.199, libpopt.so.199 
  etc - did you have these same problems?
  
  rruegner wrote:
  
  Hi, i have a big smb/ldap setup and running
  with 3.04 but with kernel 2.4.21 suse 9
  and i had no Problems with updating it ( all the way up from version 
  3.0-3.04) it worked all like charme as before,
  but i recommend to use samba packs from ftp suse projects samba, or 
  self compiledyesterday i looked there there where patched 3.04 
  packs against the swat sec bug ,but no 3.05
 
  I know problems with sernet suse samba packs after update relating to 
  cups
  Regards
 
  Hamish schrieb:
 
  Hello
 
  I am planning to upgrade our production samba server (3.0.3pre2-SuSE 
  on SuSE 9.0, kernel 2.6.5-10) tonight to 3.0.5. Is there anything I 
  should know about things breaking during this upgrade? I will just do 
  it with `rpm -Uvh --repackage samba*` - I have tried this on a test 
  server and it seems to work ok, but if anyone has some info that 
  might be useful I would be grateful!
 
  Thanks
  H
 
 
 
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] net ads join fails with Operations error ?

2004-07-29 Thread Tim
Hi all.

I'm having a problem joining an ADS domain with Samba 3.0.5.

The machine account has been set up on the server in a similar way to
another system which has joined successfully.  The error I'm getting
is kinda vague, and I have no idea what it means:

---
[2004/07/28 16:32:36, 3] libads/sasl.c:ads_sasl_spnego_bind(211)
  got [EMAIL PROTECTED]
[2004/07/28 16:32:36, 1] libsmb/clikrb5.c:ads_krb5_mk_req(306)
  krb5_cc_get_principal failed (No credentials cache found)
[2004/07/28 16:32:36, 3] libsmb/clikrb5.c:ads_cleanup_expired_creds(245)
  Ticket in ccache[MEMORY:net_ads] expiration Thu, 29 Jul 2004 02:32:36 GMT
ads_join_realm: Operations error
[2004/07/28 16:32:36, 2] utils/net.c:main(792)
  return code = -1
---

Does anybody know what Operations error actually means?

What have I configured incorrectly?

The command I'm running is:

# net -d 3 ads join UAT/WISE/Servers -U kimjeo

..and my config looks like this:

security = ADS
netbios name = SAMBA3DWEB
workgroup = xxx
realm = xxx.xxx.xx.xxx
name resolve order = lmhosts host wins
wins server = 10.xx.xx.xx
winbind separator = +
winbind uid = 65534-65534
winbind gid = 65534-65534
winbind enum users = no
winbind enum groups = no
winbind cache time = 60
password server = *

Any help or advice is appreciated.

Regards,

Tim.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] What is the domain name when using Samba as PDC

2004-07-29 Thread Andreas Ntaflos
On Wed, Jul 28, 2004 at 02:17:31AM +1000, Clement wrote:
 
 The following error occured attempting to join the domain SAMBA:
 Logon failure: unknown user name or bad password.
 
 The user clement and the machine user clement$ were both manually 
 created.  The log.smbd also showed the password was authenticated.  Do 
 you have any suggestion about the trouble?

Am I right to believe that the machine user clement$ is the (NetBIOS) name 
of the computer you want to join to the domain?

Also, have you done an 
# smbpasswd -a root
on the PDC machine? Because you cannot use a regular user such as 
(I believe) clement to add the machine to the domain, it needs to be a
Samba root user (or a user with Samba-root privileges, although I have
experienced problems with that, but didn't investigate them). So after 
doing the 
# smbpasswd -a root
and giving it a password (preferrably not the same as the Unix root
user) you should try again to join the computer to the domain, this
time using root as username (and the Samba password you just gave) in
the dialog box on the client machine.

I found this how-to quite useful, maybe it can help you:
http://www.linuxhelp.ca/forums/index.php?act=STf=3t=3823

Your smb.conf looks quite reasonable, didn't find anything wrong in
there.

HTH
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Upgrade question - please be gentle! - failed dependencies?

2004-07-29 Thread Hamish
Thanks Craig,
Will it work if I remove samba 3.0.3 completely (rpm -e) and then 
install 3.0.5?

Craig White wrote:
This is an act of pure desperation and nothing that I could ever in good
conscience suggest to someone. Not charming doesn't begin to describe
the consequences that may occur.
Craig
On Thu, 2004-07-29 at 03:36, rruegner wrote:
 

Hi,
i updated my systems with the killing method
rpm --nodeps --force
i know this is not charming but it worked with the suse packs since 
samba 3.0 up to samba 3.04
but i strongly recommend to test this first on a test system 
Best Regards

Hamish schrieb:
   

Thanks for you help, I tried to update with rpm -Uvh and it found a lot 
of failed dependencies: liblber.so.199, libldap.so.199, libpopt.so.199 
etc - did you have these same problems?

rruegner wrote:
 

Hi, i have a big smb/ldap setup and running
with 3.04 but with kernel 2.4.21 suse 9
and i had no Problems with updating it ( all the way up from version 
3.0-3.04) it worked all like charme as before,
but i recommend to use samba packs from ftp suse projects samba, or 
self compiledyesterday i looked there there where patched 3.04 
packs against the swat sec bug ,but no 3.05

I know problems with sernet suse samba packs after update relating to 
cups
Regards

Hamish schrieb:
   

Hello
I am planning to upgrade our production samba server (3.0.3pre2-SuSE 
on SuSE 9.0, kernel 2.6.5-10) tonight to 3.0.5. Is there anything I 
should know about things breaking during this upgrade? I will just do 
it with `rpm -Uvh --repackage samba*` - I have tried this on a test 
server and it seems to work ok, but if anyone has some info that 
might be useful I would be grateful!

Thanks
H
 


   

 

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Help me with Samba

2004-07-29 Thread shut
Hello!

I am from Russia. Sorry for my English. I need help. Please, tell me how
I must configure Samba and FreeBSD 5.1 for use with ACL. We have small
network (30 PCs) and PDC on Samba 3.0.4 (last version from
http://samba.org http://samba.org/ ).

 

Thanks for help.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Upgrade question - please be gentle! - failed dependencies?

2004-07-29 Thread rruegner
havent done that , but should work
Hamish schrieb:
Thanks Craig,
Will it work if I remove samba 3.0.3 completely (rpm -e) and then 
install 3.0.5?

Craig White wrote:
This is an act of pure desperation and nothing that I could ever in good
conscience suggest to someone. Not charming doesn't begin to describe
the consequences that may occur.
Craig
On Thu, 2004-07-29 at 03:36, rruegner wrote:
 

Hi,
i updated my systems with the killing method
rpm --nodeps --force
i know this is not charming but it worked with the suse packs since 
samba 3.0 up to samba 3.04
but i strongly recommend to test this first on a test system 
Best Regards

Hamish schrieb:
  

Thanks for you help, I tried to update with rpm -Uvh and it found a 
lot of failed dependencies: liblber.so.199, libldap.so.199, 
libpopt.so.199 etc - did you have these same problems?

rruegner wrote:


Hi, i have a big smb/ldap setup and running
with 3.04 but with kernel 2.4.21 suse 9
and i had no Problems with updating it ( all the way up from 
version 3.0-3.04) it worked all like charme as before,
but i recommend to use samba packs from ftp suse projects samba, or 
self compiledyesterday i looked there there where patched 3.04 
packs against the swat sec bug ,but no 3.05

I know problems with sernet suse samba packs after update relating 
to cups
Regards

Hamish schrieb:
  

Hello
I am planning to upgrade our production samba server 
(3.0.3pre2-SuSE on SuSE 9.0, kernel 2.6.5-10) tonight to 3.0.5. Is 
there anything I should know about things breaking during this 
upgrade? I will just do it with `rpm -Uvh --repackage samba*` - I 
have tried this on a test server and it seems to work ok, but if 
anyone has some info that might be useful I would be grateful!

Thanks
H


  

 

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Help me with Samba

2004-07-29 Thread rruegner
Hi,
which acl do you mean filesystem acls , or network acls?
Regards
shut schrieb:
Hello!
I am from Russia. Sorry for my English. I need help. Please, tell me how
I must configure Samba and FreeBSD 5.1 for use with ACL. We have small
network (30 PCs) and PDC on Samba 3.0.4 (last version from
http://samba.org http://samba.org/ ).
 

Thanks for help.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba runs 1 month and then crash and never come back

2004-07-29 Thread James Coggan
guys need help
my samba was working fine for about 1 month then it stoped working and 
now i get this error log

[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:54, 5] printing/print_cups.c:cups_printer_fn(93)
cups_printer_fn(0x807d4b2)
[2004/07/29 13:36:54, 3] param/loadparm.c:lp_add_printer(2397)
adding printer service Deskjet692c
[2004/07/29 13:36:54, 3] param/loadparm.c:lp_add_printer(2397)
adding printer service DeskJet870
[2004/07/29 13:36:54, 3] param/loadparm.c:lp_add_printer(2397)
adding printer service laserjet
[2004/07/29 13:36:54, 2] lib/interface.c:add_interface(79)
added interface ip=192.168.0.254 bcast=192.168.0.255 nmask=255.255.255.0
[2004/07/29 13:36:54, 2] lib/interface.c:add_interface(79)
added interface ip=10.0.0.254 bcast=10.255.255.255 nmask=255.0.0.0
[2004/07/29 13:36:54, 5] lib/hash.c:hash_table_init(67)
Hash size = 521.
[2004/07/29 13:36:54, 5] lib/util.c:init_names(270)
Netbios name list:-
my_netbios_names[0]=ACTION
[2004/07/29 13:36:54, 3] smbd/server.c:main(787)
loaded services
[2004/07/29 13:36:54, 3] smbd/server.c:main(802)
Becoming a daemon.
[2004/07/29 13:36:54, 0] lib/util.c:process_exists(1259)
PANIC: assert failed at lib/util.c(1259)
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
PANIC: assert failed
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
BACKTRACE: 8 stack frames:
 #0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
 #1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
 #2 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
 #3 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
 #4 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
 #5 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
 #6 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
 #7 /usr/sbin/smbd [0x8074f41]
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(36)
===
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 6 in pid 26661 (3.0.5)
Please read the appendix Bugs of the Samba HOWTO collection
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(39)
===
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
PANIC: internal error
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
BACKTRACE: 14 stack frames:
 #0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
 #1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
 #2 /usr/sbin/smbd [0x81c5d0e]
 #3 /usr/sbin/smbd [0x81c5d75]
 #4 /lib/libc.so.6 [0x40200078]
 #5 /lib/libc.so.6(abort+0x178) [0x402015a8]
 #6 /usr/sbin/smbd(readdirname+0) [0x81da786]
 #7 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
 #8 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
 #9 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
 #10 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
 #11 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
 #12 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
 #13 /usr/sbin/smbd [0x8074f41

my smb.conf
[global]
  load printers = yes
  socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 

Re: [Samba] Upgrade question - please be gentle! - failed dependencies?

2004-07-29 Thread Craig White
On Thu, 2004-07-29 at 09:34, Hamish wrote:
 Thanks Craig,
 Will it work if I remove samba 3.0.3 completely (rpm -e) and then 
 install 3.0.5?
 
 Craig White wrote:
 
 This is an act of pure desperation and nothing that I could ever in good
 conscience suggest to someone. Not charming doesn't begin to describe
 the consequences that may occur.
 
---
that is what I would do if it were me

Craig

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba runs 1 month and then crash and never come back

2004-07-29 Thread James Coggan
guys need help
my samba was working fine for about 1 month then it stoped working and 
now i get this error log

[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:54, 5] printing/print_cups.c:cups_printer_fn(93)
cups_printer_fn(0x807d4b2)
[2004/07/29 13:36:54, 3] param/loadparm.c:lp_add_printer(2397)
adding printer service Deskjet692c
[2004/07/29 13:36:54, 3] param/loadparm.c:lp_add_printer(2397)
adding printer service DeskJet870
[2004/07/29 13:36:54, 3] param/loadparm.c:lp_add_printer(2397)
adding printer service laserjet
[2004/07/29 13:36:54, 2] lib/interface.c:add_interface(79)
added interface ip=192.168.0.254 bcast=192.168.0.255 nmask=255.255.255.0
[2004/07/29 13:36:54, 2] lib/interface.c:add_interface(79)
added interface ip=10.0.0.254 bcast=10.255.255.255 nmask=255.0.0.0
[2004/07/29 13:36:54, 5] lib/hash.c:hash_table_init(67)
Hash size = 521.
[2004/07/29 13:36:54, 5] lib/util.c:init_names(270)
Netbios name list:-
my_netbios_names[0]=ACTION
[2004/07/29 13:36:54, 3] smbd/server.c:main(787)
loaded services
[2004/07/29 13:36:54, 3] smbd/server.c:main(802)
Becoming a daemon.
[2004/07/29 13:36:54, 0] lib/util.c:process_exists(1259)
PANIC: assert failed at lib/util.c(1259)
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
PANIC: assert failed
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
BACKTRACE: 8 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
#1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
#2 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
#3 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
#4 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
#5 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
#6 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
#7 /usr/sbin/smbd [0x8074f41]
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(36)
===
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 6 in pid 26661 (3.0.5)
Please read the appendix Bugs of the Samba HOWTO collection
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(39)
===
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
PANIC: internal error
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
BACKTRACE: 14 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
#1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
#2 /usr/sbin/smbd [0x81c5d0e]
#3 /usr/sbin/smbd [0x81c5d75]
#4 /lib/libc.so.6 [0x40200078]
#5 /lib/libc.so.6(abort+0x178) [0x402015a8]
#6 /usr/sbin/smbd(readdirname+0) [0x81da786]
#7 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
#8 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
#9 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
#10 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
#11 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
#12 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
#13 /usr/sbin/smbd [0x8074f41

my smb.conf
[global]
 load printers = yes
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
 admin users 

Re: [Samba] 2003 KDC and Samba

2004-07-29 Thread Greg Folkert
On Thu, 2004-07-29 at 10:08, Tran Charles A Civ OC-ALC/ITMA wrote:
 We have serveral RHEL 3.0 Update 2 servers running Samba.
 These have been working flawlessly for several months..
 
 Recently, the base upgraded all the Windows 2000 servers
 to Windows 2003.. 
 NOTE: we don't have admin rights to the Domain Controllers.. (wish we did..)
 
 Previous to the Domain (and kdc) controllers to 2003 we had
 no issues joining a new Samba Sever to the ADS..
 
 Using the same krb5.conf and kdc.conf and smb.conf file.. it 
 is no longer possible to join a Samba 3.0 server to the domain..
 
 Any help direction is appreciated..
 VR
 Charles
 
 Samba packages
 -
 samba-common-3.0.4-6.3E
 samba-3.0.4-6.3E
 samba-client-3.0.4-6.3E
 
 Kerberos Packages..
 -
 pam_krb5-1.73-1
 krb5-libs-1.2.7-24
 krb5-workstation-1.2.7-24
 krbafs-1.1.1-11
 krbafs-utils-1.1.1-11
 krb5-server-1.2.7-24
 krbafs-devel-1.1.1-11
 krb5-devel-1.2.7-24

First off, you need to use MIT kerberos v1.3.x, install it (I had to use
source to do this. v1.3.4 works nice. I just left the RHES krb5 stuff
inplace. as then it feels just like it was compiled for it.

I used a fugly configure line, for kerberos. You will prolly have to do
the same for krbafs. I also updated the pam_smb and pam_krb5 packages
from Fedora Core (got the src rpm and did a rpmbuild --rebuild on it)

Your samba should be okay, but given that 3.0.5 was just release last
week Wednesday as a security release... dunno.

I had many little problems at MIT krb5 v1.2.7. Why I went to v1.3.4.

You might also try the currently broken option called: spnego = Yes

It may or may not work.

If you want to know the configure options I used... let me know.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster: Linux


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] need some advice

2004-07-29 Thread John H Terpstra
On Thursday 29 July 2004 10:03, Greg Folkert wrote:
 Please let me be the first to say sorry for no responses. I tend to help
 those that help themselves or the one that have demonstrated at least
 some persistence.
...
 And, don't think that I haven't gone through the same here. I was really
 frustrated with an ADS/WindowsNT/2K/2K3/Samba/Applications Server/shell
 access/e-mail setup recently... I'd have thank nobody for replying as
 well on 2 separate events.
...
 BUT, to go back to your stuff, The stuff I listed is what I need to
 continue to help you, and maybe others will share the secrets they have
 found.

Greg makes a good point here.

Over the years many people have contributed to answering questions on this 
list. Mostly the same questions come up repetitively. It takes a huge time 
commitment to answer the requests that are made. Those of us who help out do 
it for love and for a desire to help others.

A major effort has been made over the past 12 months to improve Samba 
documentation. The product of that is a vastly updated Samba-HOWTO-Collection 
that has been published as The Official Samba-3 HOWTO and Reference Guide, 
as well as the Samba-Guide that has been published as Samba-3 by Example.

Both books are available from Amazon.Com, or can be freely downloaded from:
http://www.samba.org/samba/docs/

The Samba-HOWTO-Collection documents the nuts and bolts of how  to use 
particular features built into Samba. This is principally a technical 
reference document. The solutions it contains for the most part cover only 
part of a total solution.

The Samba-Guide documents complete network solutions. Each chapter documents a 
networking problem, discusses vital aspects of the proposed solution and then 
provides a prescriptive guide that begins with a freshly installed Linux 
system and then takes the installer through every minute step to deliver a 
fully working solution. This book covers the spectrum from small to very 
large networks.

Both books are part of the official Samba documentation project. This means 
that if you find deficiencies and contribute your solutions or fixes they can 
be incorporated so that the next user does not have to go through the same 
pain and agony you did.

Where people demonstrate that they have done their homework, have read the 
documentation we provide, and still have a problem I will break ice to help 
them - particularly if in return they will provide an update to either book.

Please be mindful when asking for help that by explaining your problem on this 
list your goal should be to help some else by way of having your problem 
solved. This is after all a community help list.

I welcome direct, personal, email that points me to information in the above 
books that is either missing, in error, or mis-guided. We want to improve the 
documentation so it will help everyone. All contributions by way of patches 
to the documentation will be given attribution in the book.

- John T.
-- 
John H Terpstra
Samba-Team Member

Author:
The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] file server using ldap

2004-07-29 Thread moof48
I have a pdc set up using ldap and everything works great.  
All it does is is authenticate user for a lab environment.  
I have also set up another samba server to just act as a 
file server for users home directories.  Everything works 
fine but I see errors in my logs.  I have security = user.
I see that it keeps trying to add itself to ldap as a 
sambaDomainName.  I know that it cant add it because I didnt 
give that system access to add anything to ldap.  

My question is that why it trying to add itself as a 
domain.  I dont want it to be a domain.  I dont think I'm 
understanding it correctly.  Could someone give me quick 123 
on what you would do to set my configuration up.  All I want 
this system to do is act like a file server while getting 
its info from ldap.  Do I need to do setlocalsid on this 
system?  Maybe that would solve it.  

Thanks in advance!!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba runs 1 month and then crash and never come back

2004-07-29 Thread John H Terpstra
James,

Did you update glibc by any chance? Have you rebooted the system and does it 
still happen following a reboot?

What version of Samba is this?

- John T.

On Thursday 29 July 2004 10:44, James Coggan wrote:
 guys need help
 my samba was working fine for about 1 month then it stoped working and
 now i get this error log
...
 [2004/07/29 13:36:54, 3] smbd/server.c:main(787)
  loaded services
 [2004/07/29 13:36:54, 3] smbd/server.c:main(802)
  Becoming a daemon.
 [2004/07/29 13:36:54, 0] lib/util.c:process_exists(1259)
  PANIC: assert failed at lib/util.c(1259)
 [2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
  PANIC: assert failed
 [2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
  BACKTRACE: 8 stack frames:
   #0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
   #1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
   #2 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
   #3 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
   #4 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
   #5 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
   #6 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
   #7 /usr/sbin/smbd [0x8074f41]
 [2004/07/29 13:36:54, 0] lib/fault.c:fault_report(36)
  ===
 [2004/07/29 13:36:54, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 6 in pid 26661 (3.0.5)
  Please read the appendix Bugs of the Samba HOWTO collection
 [2004/07/29 13:36:54, 0] lib/fault.c:fault_report(39)
  ===
 [2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
  PANIC: internal error
 [2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
  BACKTRACE: 14 stack frames:
   #0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
   #1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
   #2 /usr/sbin/smbd [0x81c5d0e]
   #3 /usr/sbin/smbd [0x81c5d75]
   #4 /lib/libc.so.6 [0x40200078]
   #5 /lib/libc.so.6(abort+0x178) [0x402015a8]
   #6 /usr/sbin/smbd(readdirname+0) [0x81da786]
   #7 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
   #8 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
   #9 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
   #10 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
   #11 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
   #12 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
   #13 /usr/sbin/smbd [0x8074f41



 my smb.conf
 [global]
load printers = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
 SO_RCVBUF=8192
admin users = @domain_admins
logon drive = H:
domain master = Yes
encrypt passwords = yes
passwd program = /usr/bin/smbpasswd -U %u
smb passwd file = /etc/samba/private/smbpasswd
logon home = \\action\%u
printer admin = @domain_admins
wins support = yes
netbios name = ACTION
printing = cups
printcap name = cups
logon script = LOGIN.BAT
default = global
 #   dos charset = 850
unix password sync = yes
workgroup = COGGAN
logon path = \\%N\profiles\%U
os level = 99
preferred master = yes
local master = yes
security = user
 #   unix charset = ISO8859-1
domain logons = Yes
log level = 5
passwd chat = *password* %n\n *password* %n\n *successful*
passwd chat debug = Yes
time server = yes
server string = Samba %v as PDC
add user script = /usr/sbin/useradd -g 106 -d /dev/null -s
 /bin/False %u
 [netlogon]
comment = Network Logon Service
path = /home/netlogon
write list = @domain_admins

 [homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

 [profiles]
path = /home/profile
browsable = no
writable = yes
create mask = 0600
directory mask = 0700

 [public]
path = /home/pub
read only = No
create mask = 0777
directory mask = 0777
public = yes
valid users = @users @domain_admins
write list = @users @domain_admins

 [backup]
path = /backup
read only = No
create mask = 0777
directory mask = 0777
public = yes
valid users = @users @domain_admins
write list = @users @domain_admins

 [alquest]
path = /home/alquest
read only = No
create mask = 0777
directory mask = 0777
public = yes
valid users = @users @domain_admins
write list = @domain_admins

 #[downloads]
 #   path = /home/downloads
 #   read only = No
 #   create mask = 0777
 #   directory mask = 0777
 #   valid users = @users @domain_admins
 #   write list = @users @domain_admins

 [printers]
comment = All Printers
path = /var/spool/samba
printer admin = root, administrator, jcoggan
valid users = @users 

Re: [Samba] file server using ldap

2004-07-29 Thread Umberto Zanatta
The file server has to have security = domain
or security = server;

You can read about differences (domain, server) on security in
'smb.conf'.

if you use security = domain, You will join the files server in domain.

u.

Il gio, 2004-07-29 alle 19:14, [EMAIL PROTECTED] ha scritto:

 I have a pdc set up using ldap and everything works great.  
 All it does is is authenticate user for a lab environment.  
 I have also set up another samba server to just act as a 
 file server for users home directories.  Everything works 
 fine but I see errors in my logs.  I have security = user.
 I see that it keeps trying to add itself to ldap as a 
 sambaDomainName.  I know that it cant add it because I didnt 
 give that system access to add anything to ldap.  
 
 My question is that why it trying to add itself as a 
 domain.  I dont want it to be a domain.  I dont think I'm 
 understanding it correctly.  Could someone give me quick 123 
 on what you would do to set my configuration up.  All I want 
 this system to do is act like a file server while getting 
 its info from ldap.  Do I need to do setlocalsid on this 
 system?  Maybe that would solve it.  
 
 Thanks in advance!!

___
Umberto Zanatta
linuxDidattica

tel: +39 (335) 54 71 385
email: [EMAIL PROTECTED]
web: http://linuxdidattica.org
___
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Profiles and login

2004-07-29 Thread Sensei
Hi.

I'm new to samba, so I need some suggestions about its configuration.

This is my situation: mit kerberos 5, openldap, openafs. On linux
clients, they authenticate over the KDCs, mount /afs file system, get
informations about their home directory with ldap.

Users have a predefined pattern for their homes, depending on the first
letter: for a user name ``smith''

/afs/cell.name/usr/s/smith/

I'd like to make a domain, having also windows clients log on the remote
server. This means that ``\Users and Settings\smith'' should be the UNC
``\\AFS\cell.name\usr\smith'', otherwise, I can map a global afs drive,
like Z: pointig to \\AFS\cell.name, but the initial letter issue still
remains.

Can you give me some hints about your opinions? How would you do this?
What kind of ``security'' would you turn on?


-- 
Senseimailto:[EMAIL PROTECTED]
  icqnum:241572242
  msn-id:[EMAIL PROTECTED]
A)bort, R)etry, I)nfluence with large hammer.


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Backup from M$ SQL to samba box

2004-07-29 Thread Chris Li
Hi everyone, I am new to here.

I am trying to backup my SQL server to a home made samba box, but it comes
up to me that the backup speed drop sigificantly when the backup arrives at
48GB and eventuallly die out after that. I am just thinking if I am having
problem with samba.

My box configuration

Redhat Fedora Core 2
Kernel 2.6.5-1.358
samba-3.0.3-5

Adaptec 2410SA Controller
4 x 250 GB Harddisk

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Migrating from NT4 causes profiles not to load

2004-07-29 Thread Chris Derichs
I'm migrating from an NT4 Domain Controller to Samba 3.0.5

And it's mostly working. Users can log on but their desktop profiles don't
load.

On the NT Server there profile location was just left blank and people had
their profiles locally saved.

With the new samba server I want to leave it the same for now.

The howto says

A question often asked is: How may I enforce use of local profiles? or
How do I disable roaming profiles?
There are three ways of doing this:
In smb.conf

  Affect the following settings and ALL clients will be forced to use a
local profile: logon home = and logon path =

  The arguments to these parameters must be left blank. It is necessary to
include the = sign to specifically assign the empty value.



So I did but when I tested it out, it just gave users a default profile.
All SID should have remained the same when they were vampired.

In the LDAP database I browsed through it and there are no entries like
sambaProfilePath for anyone so I just assumed it would default to smb.conf
settings.

The only samba attributes in LDAP for each users are: sambaSID,
sambaPwdMustChange, sambaPwdLastSet, sambaPwdCanChange,
sambaPrimaryGroupSID, sambaNTPassword, sambaLogonTime, sambaLogoffTime,
sambaLMPassword, sambaDomainName, sambaAcctFlags

I'd perfer an option that doesn't require changing settings on each
workstation.

===smb.conf===

# Global parameters  MANA (PDC SETUP)
[global]

 workgroup = OFFICE

 # PDC = Yes, BDC = No
 domain master = Yes

 domain logons = Yes
 os level = 39
 preferred master = Auto
 netbios name = MANA
 server string = Samba Domain Controller on %L
 passdb backend = ldapsam:ldap://127.0.0.1
 log file = /var/log/samba/%m.log
 max log size = 250
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 passwd program = smbpasswd %u
 encrypt passwords = yes


#Regular LDAP Tools
 add user script = /var/lib/samba/sbin/smbldap-useradd.pl -a -m '%u'
 delete user script = /var/lib/samba/sbin/smbldap-userdel.pl %u
 add group script = /var/lib/samba/sbin/smbldap-groupadd.pl '%g'
 delete group script = /var/lib/samba/sbin/smbldap-groupdel.pl '%g'
 add user to group script = /var/lib/samba/sbin/smbldap-groupmod.pl -m '%u'
'%g'
 delete user from group script = /var/lib/samba/sbin/smbldap-groupmod.pl -x
'%u' '%g'
 set primary group script = /var/lib/samba/sbin/smbldap-usermod.pl -g '%g'
'%u'
 add machine script = /var/lib/samba/sbin/smbldap-useradd.pl -w '%u'

 ldap suffix = o=office
 ldap machine suffix = ou=Computers
 ldap user suffix = ou=Users
 ldap group suffix = ou=Groups
 ldap idmap suffix = ou=Idmap
 ldap admin dn = cn=samba,ou=DSA,o=office
 ldap ssl = no
 ldap passwd sync = Yes

 message command = /bin/mail -s 'message from %f on %m' root  %s; rm %s

 idmap uid = 15000-2
 idmap gid = 15000-2
 admin users = root
 #profile acls = Yes
 printing = cups

 logon home =
 logon path =


## Shares Start Below ##


[homes]
 comment = Home Directories /smbhomes/%u
 path = /smbhomes/%u
 read only = No
 browseable = No


[netlogon]
 comment = Network Logon Service
 path = /smbnetlogon

 admin users = root
 guest ok = Yes
 browseable = No

#[Profiles]
# comment = Roaming Profile Share
# path = /smbhomes/%u
# read only = No
# #inherit permissions = Yes
# #inherit acls = Yes
# browseable = No
#
[printers]
 comment = All Printers
 printable = yes
 path = /var/spool/samba
 browseable = no
 guest ok = yes
 public = yes
 read only = Yes
 writable = no

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] need some advice

2004-07-29 Thread Greg Folkert
On Thu, 2004-07-29 at 12:59, John H Terpstra wrote:
 On Thursday 29 July 2004 10:03, Greg Folkert wrote:
  Please let me be the first to say sorry for no responses. I tend to help
  those that help themselves or the one that have demonstrated at least
  some persistence.
 ...
  And, don't think that I haven't gone through the same here. I was really
  frustrated with an ADS/WindowsNT/2K/2K3/Samba/Applications Server/shell
  access/e-mail setup recently... I'd have thank nobody for replying as
  well on 2 separate events.
 ...
[...]
 Greg makes a good point here.
 
 Over the years many people have contributed to answering questions on this 
 list. Mostly the same questions come up repetitively. It takes a huge time 
 commitment to answer the requests that are made. Those of us who help out do 
 it for love and for a desire to help others.
[...]
 Where people demonstrate that they have done their homework, have read the 
 documentation we provide, and still have a problem I will break ice to help 
 them - particularly if in return they will provide an update to either book.
 
 Please be mindful when asking for help that by explaining your problem on this 
 list your goal should be to help some else by way of having your problem 
 solved. This is after all a community help list.
 
 I welcome direct, personal, email that points me to information in the above 
 books that is either missing, in error, or mis-guided. We want to improve the 
 documentation so it will help everyone. All contributions by way of patches 
 to the documentation will be given attribution in the book.
[...]

John, since I was a consultant on that Gig I (am still finishing) am
charged with Complete Documentation of what I did. This is a good thing.
I'll have to include my samba.install.journal, Each and everything I did
and referenced to make RH-ES 3.0 SP2 running 2.4.21-smp-HUGEMEMetc. to
operate in a Completely mixed
NT/2K/2K3/Linux/s390/(Win*NIX)ApplicationServer/Solaris/kerberos5/ADS/KitchenSink 
environment. (Thank $DEITY it didn't include NIS/NIS+)

Now, the good thing is I'll have everything *I* did to get things to
work, including configure options, references that helped out to glue
all the pieces together, versions of software used, compiler used,
CFLAGS, CPPFLAGS, LDFLAGS, winbind setup, joining ADS, setting KRB5
proper for 6 KDCs, 2 InterTree TransSumpthing trust and 5 domain in the
tree trusts, with ACLs being used on the Linux machine (a quad 248
Opteron HP system with 10GB of Memory and 40+TB of Disk), bad thing is,
it'll have to be sanitized, and proof read before I can release it. It
basically turned out to be a single-Sign-on setup with ADS and
kerberos5 doing the auth work. With machine key.tabs and group mappings
from H3LL!.

But, then again, maybe my pain will finally lessen others pain.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster: Linux


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] need some advice

2004-07-29 Thread John H Terpstra
On Thursday 29 July 2004 06:16, Greg Folkert wrote:
 Otherwise, you will only get a generic response. *IF* someone can get
 their arms around you problem, they may post a few fixes that may or may
 not work. This is the way of this list, we are not GODS (well except
 Jerry, John and Gerald (plus a few others on the samba team))

Last time I checked the deity logs there was no record of my name. ;)

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] 2003 KDC and Samba

2004-07-29 Thread John H Terpstra
On Thursday 29 July 2004 08:08, Tran Charles A Civ OC-ALC/ITMA wrote:
 We have serveral RHEL 3.0 Update 2 servers running Samba.
 These have been working flawlessly for several months..

 Recently, the base upgraded all the Windows 2000 servers
 to Windows 2003..

Only MIT Kerberos 1.3.1 or later will work with Windows 2003 Server ADS.

- John T.

 NOTE: we don't have admin rights to the Domain Controllers.. (wish we
 did..)

 Previous to the Domain (and kdc) controllers to 2003 we had
 no issues joining a new Samba Sever to the ADS..

 Using the same krb5.conf and kdc.conf and smb.conf file.. it
 is no longer possible to join a Samba 3.0 server to the domain..

 Any help direction is appreciated..
 VR
 Charles

 Samba packages
 -
 samba-common-3.0.4-6.3E
 samba-3.0.4-6.3E
 samba-client-3.0.4-6.3E

 Kerberos Packages..
 -
 pam_krb5-1.73-1
 krb5-libs-1.2.7-24
 krb5-workstation-1.2.7-24
 krbafs-1.1.1-11
 krbafs-utils-1.1.1-11
 krb5-server-1.2.7-24
 krbafs-devel-1.1.1-11
 krb5-devel-1.2.7-24


 Things tried..(per the samba docs. this is the first step..)

 kinit [EMAIL PROTECTED]
 error..
 kinit(v5): KRB5 error code 52 while getting initial credentials

 net ads join /IT/Computers/Servers-2 -U adminOFthisOU
 error..
 kerberos_kinit_password [EMAIL PROTECTED] failed: KRB5
 error code 52

 Not much on google about this error..

 krb5.conf
 **
 logging]
  default = FILE:/var/log/krb5libs.log
  kdc = FILE:/var/log/krb5kdc.log
  admin_server = FILE:/var/log/kadmind.log

 [libdefaults]
  ticket_lifetime = 24000
  default_realm = USAF.AFMC.DS.AF.MIL
 #  default_tgs_enctypes = rc4-hmac
 #  default_tkt_enctypes = rc4-hmac
   dns_lookup_realm = false
   dns_lookup_kdc = false

 [realms]
  USAF.AFMC.DS.AF.MIL = {
   kdc = xxx.xxx.xxx.241:88
   admin_server = xxx.xxx.xxx.241:749
   default_domain = usaf.af.mil
  }

 [domain_realm]
  .usaf.af.mil = USAF.AFMC.DS.AF.MIL
  usaf.af.mil = USAF.AFMC.DS.AF.MIL

 [kdc]
  profile = /var/kerberos/krb5kdc/kdc.conf

 [appdefaults]
  pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
 *
 kdc.conf
 *
 [kdcdefaults]
  acl_file = /var/kerberos/krb5kdc/kadm5.acl
  dict_file = /usr/share/dict/words
  admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab
  v4_mode = nopreauth

 [realms]
  USAF.AFMC.DS.AF.MIL = {
   master_key_type = des-cbc-crc
   supported_enctypes = des3-cbc-sha1:normal des3-cbc-sha1:norealm
 des3-cbc-sha1:onlyrealm des-cbc-crc:v4 des-cbc-crc:afs3 des-cbc-crc:normal
 des-cbc-crc:norealm des-cbc-crc:onlyrealm des-cbc-md4:v4 des-cbc-md4:afs3
 des-cbc-md4:normal des-cbc-md4:norealm des-cbc-md4:onlyrealm des-cbc-md5:v4
 des-cbc-md5:afs3 des-cbc-md5:normal des-cbc-md5:norealm
 des-cbc-md5:onlyrealm des-cbc-sha1:v4 des-cbc-sha1:afs3 des-cbc-sha1:normal
 des-cbc-sha1:norealm des-cbc-sha1:onlyrealm
  }
 *
 smb.conf
 *[global]
 workgroup = USAF-2K
 realm = USAF.AFMC.DS.AF.MIL
 server string =
 security = ADS
 obey pam restrictions = Yes
 password server = xxx.xxx.xxx.241
 pam password change = Yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n
 *passwd:*all*authentication*tokens*updated*successfully*
 log file = /var/log/samba/%m.log
 max log size = 0
 announce version = 5.0
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 preferred master = No
 local master = No
 domain master = No
 wins server = 10.50.1.52
 ldap ssl = no
 idmap uid = 1-2
 idmap gid = 1-2
 template shell = /bin/bash
 #   winbind separator = +
 #   valid users = @oracle
 printing = cups

 [testshare]
 comment = System Share
 path = /home2/share
 force group = share
 writeable = yes
 case sensitive = Yes
 hide dot files = No

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba runs 1 month and then crash and never come back

2004-07-29 Thread James Coggan
rebuild???
John H Terpstra wrote:
On Thursday 29 July 2004 11:22, you wrote:
 

Nope, no one touched the machine in 2 days
I'm trying the reboot but then what? is it a bug???
I'm using 3.0.5 version
   

Could it be possible that you have updated or patched glibc recently?
What is your OS? How is it updated?
Did you build the Samba installation or did you obtain it from elsewhere?
- John T.
 

John H Terpstra wrote:
   

James,
Did you update glibc by any chance? Have you rebooted the system and does
it still happen following a reboot?
What version of Samba is this?
- John T.
On Thursday 29 July 2004 10:44, James Coggan wrote:
 

guys need help
my samba was working fine for about 1 month then it stoped working and
now i get this error log
   

...
 

[2004/07/29 13:36:54, 3] smbd/server.c:main(787)
loaded services
[2004/07/29 13:36:54, 3] smbd/server.c:main(802)
Becoming a daemon.
[2004/07/29 13:36:54, 0] lib/util.c:process_exists(1259)
PANIC: assert failed at lib/util.c(1259)
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
PANIC: assert failed
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
BACKTRACE: 8 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
#1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
#2 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
#3 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
#4 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
#5 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
#6 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
#7 /usr/sbin/smbd [0x8074f41]
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(36)
===
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 6 in pid 26661 (3.0.5)
Please read the appendix Bugs of the Samba HOWTO collection
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(39)
===
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
PANIC: internal error
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
BACKTRACE: 14 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
#1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
#2 /usr/sbin/smbd [0x81c5d0e]
#3 /usr/sbin/smbd [0x81c5d75]
#4 /lib/libc.so.6 [0x40200078]
#5 /lib/libc.so.6(abort+0x178) [0x402015a8]
#6 /usr/sbin/smbd(readdirname+0) [0x81da786]
#7 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
#8 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
#9 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
#10 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
#11 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
#12 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
#13 /usr/sbin/smbd [0x8074f41

my smb.conf
[global]
 load printers = yes
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
 admin users = @domain_admins
 logon drive = H:
 domain master = Yes
 encrypt passwords = yes
 passwd program = /usr/bin/smbpasswd -U %u
 smb passwd file = /etc/samba/private/smbpasswd
 logon home = \\action\%u
 printer admin = @domain_admins
 wins support = yes
 netbios name = ACTION
 printing = cups
 printcap name = cups
 logon script = LOGIN.BAT
 default = global
#   dos charset = 850
 unix password sync = yes
 workgroup = COGGAN
 logon path = \\%N\profiles\%U
 os level = 99
 preferred master = yes
 local master = yes
 security = user
#   unix charset = ISO8859-1
 domain logons = Yes
 log level = 5
 passwd chat = *password* %n\n *password* %n\n *successful*
 passwd chat debug = Yes
 time server = yes
 server string = Samba %v as PDC
 add user script = /usr/sbin/useradd -g 106 -d /dev/null -s
/bin/False %u
[netlogon]
 comment = Network Logon Service
 path = /home/netlogon
 write list = @domain_admins
[homes]
 comment = Home Directories
 valid users = %S
 read only = No
 create mask = 0664
 directory mask = 0775
 browseable = No
[profiles]
 path = /home/profile
 browsable = no
 writable = yes
 create mask = 0600
 directory mask = 0700
[public]
 path = /home/pub
 read only = No
 create mask = 0777
 directory mask = 0777
 public = yes
 valid users = @users @domain_admins
 write list = @users @domain_admins
[backup]
 path = /backup
 read only = No
 create mask = 0777
 directory mask = 0777
 public = yes
 valid users = @users @domain_admins
 write list = @users @domain_admins
[alquest]
 path = /home/alquest
 read only = No
 create mask = 0777
 directory mask = 0777
 public = yes
 valid users = @users @domain_admins
 write list = @domain_admins
#[downloads]
#   path = /home/downloads
#   read only = No
#   create mask = 0777
#   directory mask = 0777
#   valid users = @users @domain_admins
#   write list = @users @domain_admins
[printers]
 comment = All Printers
 path = 

Re: [Samba] realm not recognised?

2004-07-29 Thread John H Terpstra
Bob,

Please email me the output of running: smbd -b

- John T.

On Thursday 29 July 2004 09:35, Bob Lansley wrote:
 Hi,

 I've installed Samba 3.0.2a and attempting to configure in
 security = ads mode but at startup smbd and nmbd complain
 that the realm (that defines the AD realm) parameter is unkown.

 Has anyone seen and overcome this before ?


 [2004/07/29 15:59:05, 0] param/loadparm.c:map_parameter(2410)
   Unknown parameter encountered: realm
 [2004/07/29 15:59:05, 0] param/loadparm.c:lp_do_parameter(3048)
   Ignoring unknown parameter realm

 Thanks,

 Bob.

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.x and high processor utilication caused by /etc/passwd access

2004-07-29 Thread Bringer, Heiko
Hello together,

since upgrading on samba 3.0.x (issue happens with all 3.0. release) the
cpu-load on my samba PDC ist constantly near 100%. The cpu power ist
consumed by all running smb-processes. Systrace shows me that the smb
processes tried to access to /etc/passwd on a permanent basis. My question
is: Why tries samba to access etc/passwd so often and produces this high
cpu-load?

Regards,
Heiko Böringer

Rights for smbpasswd are set as following

-rw-r--r--1 root root 5540 Jul 27 15:15 passwd

Systemconfiguration

- Debian 3.0 (Woddy)
- Samba with an the samba3.0.5.deb from the unstable tree (but happends
with
all other versions too)
- Configured als PDC with SMBPASSWD Authentification (no windbind, kerberos,
ldap..)

TOP shows the following

  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
19094 nobody18   0  3872 3872  3440 R 8.7  0.7  43:22 smbd
 5213 nobody18   0  3784 3784  3400 R 8.7  0.7  29:43 smbd
 9345 nobody17   0  4100 4100  3628 R 8.7  0.7  29:24 smbd
10237 nobody19   0  3772 3772  3400 R 8.7  0.7  29:06 smbd
17121 nobody17   0  4140 4140  3632 R 8.7  0.8  28:02 smbd
20776 nobody18   0  3668 3668  3324 R 8.7  0.7  27:48 smbd
17915 nobody18   0  3768 3768  3388 R 8.7  0.7  46:35 smbd
18441 nobody17   0  4128 4128  3640 R 8.5  0.7  45:16 smbd
25605 nobody18   0  3784 3784  3400 R 8.5  0.7   6:38 smbd
 1065 root  16   0  5504 5504  3928 R 7.1  1.0   0:59 smbd
28475 root   9   0  4280 4280  3700 S 0.3  0.8   0:02 smbd


Systrace on one of the smbd processes shows the following:

open(/etc/passwd, O_RDONLY)   = 26
fcntl64(26, F_GETFD)= 0
fcntl64(26, F_SETFD, FD_CLOEXEC)= 0
_llseek(26, 0, [0], SEEK_CUR)   = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x4051
_llseek(26, 5540, [5540], SEEK_SET) = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
munmap(0x4051, 5540)= 0
close(26)   = 0
open(/etc/passwd, O_RDONLY)   = 26
fcntl64(26, F_GETFD)= 0
fcntl64(26, F_SETFD, FD_CLOEXEC)= 0
_llseek(26, 0, [0], SEEK_CUR)   = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x4051
_llseek(26, 5540, [5540], SEEK_SET) = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
munmap(0x4051, 5540)= 0
close(26)   = 0
open(/etc/passwd, O_RDONLY)   = 26
fcntl64(26, F_GETFD)= 0
fcntl64(26, F_SETFD, FD_CLOEXEC)= 0
_llseek(26, 0, [0], SEEK_CUR)   = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x4051
_llseek(26, 5540, [5540], SEEK_SET) = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
munmap(0x4051, 5540)= 0
close(26)   = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 26
connect(26, {sin_family=AF_UNIX, path=/var/run/.nscd_socket}, 110) = -1
ECONNREFUSED (Connection refused)
close(26)   = 0
open(/etc/passwd, O_RDONLY)   = 26
fcntl64(26, F_GETFD)= 0
fcntl64(26, F_SETFD, FD_CLOEXEC)= 0
_llseek(26, 0, [0], SEEK_CUR)   = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x4051
_llseek(26, 5540, [5540], SEEK_SET) = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
munmap(0x4051, 5540)= 0
close(26)   = 0
open(/etc/passwd, O_RDONLY)   = 26
fcntl64(26, F_GETFD)= 0
fcntl64(26, F_SETFD, FD_CLOEXEC)= 0
_llseek(26, 0, [0], SEEK_CUR)   = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x4051
_llseek(26, 5540, [5540], SEEK_SET) = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
munmap(0x4051, 5540)= 0
close(26)   = 0


And here?s the smb.conf
##
[global]
unix charset = ISO8859-1
display charset = ISO8859-1
workgroup = RVMO.DE
server string = %h
obey pam restrictions = Yes
#   unix password sync = false
#   encrypt passwords = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
   

Re: [Samba] Samba 3.0.5 PANIC

2004-07-29 Thread Jeremy Allison
On Thu, Jul 29, 2004 at 09:18:54AM +0800, Jacky Kim wrote:
 Hi, all:
 
I am using Samba 3.0.5 with patch at http://samba.org/~jerry/patches/post-3.0.4/.
 But I found the follow messages in samba log:

This may be a bug we have already fixed in the 3.0.6 stream (what was
called 3.0.5 before the security release). Can you try one of these
pre-releases and see if the problem still occurs ?

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.0.x and high processor utilication caused by /etc/passwd access

2004-07-29 Thread Jeremy Allison
On Thu, Jul 29, 2004 at 08:18:22PM +0200, Böringer, Heiko wrote:
 Hello together,
 
 since upgrading on samba 3.0.x (issue happens with all 3.0. release) the
 cpu-load on my samba PDC ist constantly near 100%. The cpu power ist
 consumed by all running smb-processes. Systrace shows me that the smb
 processes tried to access to /etc/passwd on a permanent basis. My question
 is: Why tries samba to access etc/passwd so often and produces this high
 cpu-load?
 
 Regards,
 Heiko Böringer
 
 Rights for smbpasswd are set as following
 
 -rw-r--r--1 root root 5540 Jul 27 15:15 passwd
 
 Systemconfiguration
 
 - Debian 3.0 (Woddy)
 - Samba with an the samba3.0.5.deb from the unstable tree (but happends
 with
 all other versions too)
 - Configured als PDC with SMBPASSWD Authentification (no windbind, kerberos,
 ldap..)
 
 TOP shows the following
 
   PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 19094 nobody18   0  3872 3872  3440 R 8.7  0.7  43:22 smbd
  5213 nobody18   0  3784 3784  3400 R 8.7  0.7  29:43 smbd
  9345 nobody17   0  4100 4100  3628 R 8.7  0.7  29:24 smbd
 10237 nobody19   0  3772 3772  3400 R 8.7  0.7  29:06 smbd
 17121 nobody17   0  4140 4140  3632 R 8.7  0.8  28:02 smbd
 20776 nobody18   0  3668 3668  3324 R 8.7  0.7  27:48 smbd
 17915 nobody18   0  3768 3768  3388 R 8.7  0.7  46:35 smbd
 18441 nobody17   0  4128 4128  3640 R 8.5  0.7  45:16 smbd
 25605 nobody18   0  3784 3784  3400 R 8.5  0.7   6:38 smbd
  1065 root  16   0  5504 5504  3928 R 7.1  1.0   0:59 smbd
 28475 root   9   0  4280 4280  3700 S 0.3  0.8   0:02 smbd
 
 
 Systrace on one of the smbd processes shows the following:
 
 open(/etc/passwd, O_RDONLY)   = 26
 fcntl64(26, F_GETFD)= 0
 fcntl64(26, F_SETFD, FD_CLOEXEC)= 0
 _llseek(26, 0, [0], SEEK_CUR)   = 0
 fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
 mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x4051
 _llseek(26, 5540, [5540], SEEK_SET) = 0
 fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
 munmap(0x4051, 5540)= 0
 close(26)   = 0
 open(/etc/passwd, O_RDONLY)   = 26
 fcntl64(26, F_GETFD)= 0
 fcntl64(26, F_SETFD, FD_CLOEXEC)= 0
 _llseek(26, 0, [0], SEEK_CUR)   = 0
 fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
 mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x4051
 _llseek(26, 5540, [5540], SEEK_SET) = 0
 fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
 munmap(0x4051, 5540)= 0
 close(26)   = 0
 open(/etc/passwd, O_RDONLY)   = 26
 fcntl64(26, F_GETFD)= 0
 fcntl64(26, F_SETFD, FD_CLOEXEC)= 0
 _llseek(26, 0, [0], SEEK_CUR)   = 0
 fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
 mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x4051
 _llseek(26, 5540, [5540], SEEK_SET) = 0
 fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
 munmap(0x4051, 5540)= 0
 close(26)   = 0
 socket(PF_UNIX, SOCK_STREAM, 0) = 26
 connect(26, {sin_family=AF_UNIX, path=/var/run/.nscd_socket}, 110) = -1
 ECONNREFUSED (Connection refused)
 close(26)   = 0

Looks like a nsswitch bug whilst talking to nscd. Turn off
nscd from nsswitch.conf and see if the problem still occurs.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Anyone have Solaris 8/9, W2K AD, NIS working?

2004-07-29 Thread Erwin Fritz
Okay, I'm at wit's end, and am about ready to give up on Samba 3.x as a way to 
implement single sign-on.
I would like to know if there's anyone out there who has the following environment:
- Solaris 8 and 9, running NIS (not NIS+) for automount and passwd/group maps
- W2K-based Active Directory
I'm trying to get Solaris authentication to work using AD user accounts. According to 
The Official Samba 3 Howto and Reference Guide, this should be a simple thing. Well, 
it is, as long as you don't care that the UNIX userid to SID mapping isn't consistent 
across NIS clients, which really screws up file ownership.
Well, it just isn't working. I've tried the instructions in there, which are laughably 
inadequate. They don't cover NIS or the SID-userid mapping problem properly. I've 
searched this mailing list for answers, and haven't found much. I simply cannot get 
Samba to store the userid mapping in the AD Idmap OU.
I'm not going to detail the very large list of things I've been trying for months now, 
but they include installing Services for Unix on the AD servers, installing OpenLDAP 
and Kerberos, installing the idmap_ad plugin on my test Solaris box, configuring 
pam.conf and nsswitch.conf, setting up winbind, oh, the list goes on.
If anyone out there is running NIS on their Solaris boxes, and has single sign-on working 
properly using AD-based authentication, with consistent SID-userid mapping (i.e. a 
SID gets mapped to the same UNIX userid no matter which Solaris client is used), I'd very 
much like to talk to that person to find out how they got it working.
Anyone?
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Anyone have Solaris 8/9, W2K AD, NIS working?

2004-07-29 Thread Paul Gienger
It sounds like you need to pick a network directory service and go with 
it, I'd suggest LDAP over NIS any day.  I have had a solaris (9 I think) 
box running happily over LDAP and AD2000, although it was just for test.

I'm trying to get Solaris authentication to work using AD user 
accounts. According to The Official Samba 3 Howto and Reference Guide, 
this should be a simple thing. Well, it is, as long as you don't care 
that the UNIX userid to SID mapping isn't consistent across NIS 
clients, which really screws up file ownership.
You need a central structure to hold your SID mappings if you're 
traversing machines, AFAICT, the only network structure supported is LDAP.

Well, it just isn't working. I've tried the instructions in there, 
which are laughably inadequate. They don't cover NIS or the SID-userid 
mapping problem properly. I've searched this mailing list for answers, 
and haven't found much. I simply cannot get Samba to store the userid 
mapping in the AD Idmap OU.
Perhaps some expansion on your issues here would help:
What kind of errors is samba spitting back
What configurations have you done.
I'm not going to detail the very large list of things I've been trying 
for months now, but they include installing Services for Unix on the 
AD servers, installing OpenLDAP and Kerberos, installing the idmap_ad 
plugin on my test Solaris box, configuring pam.conf and nsswitch.conf, 
setting up winbind, oh, the list goes on.

If anyone out there is running NIS on their Solaris boxes, and has 
single sign-on working properly using AD-based authentication, with 
consistent SID-userid mapping (i.e. a SID gets mapped to the same 
UNIX userid no matter which Solaris client is used), I'd very much 
like to talk to that person to find out how they got it working.
I'm curious, why the insistance on NIS?  Do you have other apps that 
require it?  Are you having problems getting autofs on solaris to talk 
to LDAP?  If so, a guy can short circuit it by making files from the 
ldap structure, that's what I do.  Are you an old school sun guy from 
way back that can't let go of it?  Give in to the dark side of the 
DIT,... err... I mean use ldap, its better over here... or something, 
you get my drift hopefully.

--
Paul Gienger Office: 701-281-1884
Applied Engineering Inc. 
Information Systems Consultant   Fax:701-281-1322
URL: www.ae-solutions.commailto: [EMAIL PROTECTED]

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Redundancy in samba

2004-07-29 Thread Derek Harkness
I'm in the process of setting up a similar environment, I'm just 
working at it from the other side.  I've got the Samba environment and 
I'm adding the kerberos/afs to it.  Be sure to compile with the 
--with-afs option.

Samba hand crafts AFS tokens on the users behalf, this means 
maintaining two passwords a samba password and a kerberos password.  
I'm setting up a synchronization process.  Your samba servers will also 
need access to you AFS server key, use the net command to store the key 
in the secrets.tdb.

In my environment I was going to have two or more samba servers 
offering access to the same AFS space, and setup the logon script to 
automatically determine which one to map to.  If a samba server goes 
down then the user will need to logout and back logon or rerun the 
logon script.

Derek
On Jul 29, 2004, at 8:47 AM, Sensei wrote:
Hi.
I'm new to samba, so I don't know many things. I have a big
infrastructure based on kerberos, ldap and afs. All our linux clients
log nicely on the cell, no problem. The problem is as everywhere...
windows. I'm trying to make windows log on the cell, using samba (I 
will
try tomorrow to set up a domain). The questions about samba will come
later on, so expect me to bother you :)

Now, I have more than one server supplying all the needed services, and
I ask you: is it possible to set up more than one pc supplying samba
services for the same domain?
--
Senseimailto:[EMAIL PROTECTED]
  icqnum:241572242
  msn-id:[EMAIL PROTECTED]
Error: Keyboard not found. Press F1 to continue...
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
I do not believe that the same God who has endowed us with sense, 
reason, and intellect has intended us to forgo their use
-- Galileo Galilei


PGP.sig
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Cannot login to PDC(FreeBSD boxen) from client(win XP)

2004-07-29 Thread Chris E
Craig White wrote:

OK but I try to believe in the accuracy of the messages.
Is it possible that you joined this WinXP system to the domain with a different name? 
If so, can you delete the computer account in the unix passwd and samba passdb? Then 
rejoin with the current unique name.
If you have never joined the computer to the domain, check /etc/hosts and 
/etc/samba/lmhosts to make sure that things are adequately represented. You also might 
want to stop samba, delete wins.dat and restart samba.
Craig
 

I understand. I meant no disrespect in my previous respose. I understand 
the thouroughness that you want to achieve here. I just wanted to clear 
up what I had originally said. Anyways, following your latest advice and 
help from a linux howto I was able to finally join the domain. I was 
extremely happy when I saw the Welcome to %domain winpopup. I just 
have a few questions I'd like to clear up so that I know I'm able to 
recreate the procedure if I were to have to do this over from scratch. 
Firstly the steps I took to get where I now am. I had first double 
checked the /etc/hosts file and checked to find a lmhosts file. 
/etc/hosts was indeed correct and this lmhosts file is nowhere to be 
found, even now with a successful logon. Is this something I should 
worry about? Secondly I removed the computer name from /etc/passwd, it 
was advised to add in, in another howto I had read. It said to do so to 
create a trust account for the computer but that might be a more 
advanced security feature and I most likely confused it in with some of 
the steps I was using to get to a basic setup. Anyways, after removing 
the trust account I removed the user from both the unix passwd db and 
the samba passwd db. I then proceded to readd him with adduser and 
smbpasswd. After that I noticed the following in the howto I was 
currently reading...


12. Add the root user to the password backend as follows:
*smbpasswd -a root*
13. Create the Standard NT-Unix group mappings with the following commands:
*net groupmap modify ntgroup=Domain Admins unixgroup=root
net groupmap modify ntgroup=Domain Users unixgroup=users
net groupmap modify ntgroup=Domain Guests unixgroup=nobody*
Add any aditional groups with the above command ... the Unix group needs 
to be added first via *groupadd*.

Check that the groups are setup with the command:
*net groupmap list | sort*
The output should look like this:
Account Operators (S-1-5-32-548) - -1
Administrators (S-1-5-32-544) - -1
Backup Operators (S-1-5-32-551) - -1
Domain Admins (S-1-5-21-179504-2437109-488451-512) - root
Domain Guests (S-1-5-21-179504-2437109-488451-514) - nobody
Domain Users (S-1-5-21-179504-2437109-488451-513) - users
Guests (S-1-5-32-546) - -1
Power Users (S-1-5-32-547) - -1
Print Operators (S-1-5-32-550) - -1
Replicators (S-1-5-32-552) - -1
System Operators (S-1-5-32-549) - -1
Users (S-1-5-32-545) - -1
So I read through the step and decided to run the 'net groupmap list | 
sort' command and noticed the accounts weren't yet mapped. What exactly 
is the importance of this step? I understand what it does but I'm not 
exactly sure why. Forgive my blindness. Anyways, I proceeded through 
step 13. After a bit farther down I believe I found the mistake I've 
been making this whole time. The following is a snippet...

snip, snip
*Windows 2000*
1. *Right-click* on the *My Computer icon* on the desktop and select 
*Properties*.

2. Click the *Network Identification* tab.
3. Click the *Properties* button, as illustrated in this picture 
http://www.hughesjr.com/images/netID.jpg.

4. Your computer's Computer name must be unique.
5. Pick the *Domain* box and enter *NEWDOM* and press *OK* ... then 
enter a username (*Administrator*) and password (your *root* user's 
password on the linux server) that is a member of the Domain 
Administrators group. See this picture 
http://www.hughesjr.com/images/netID2.jpg

*Windows XP*

1. Go to the *Start menu* and *Right-click* on the *My Computer* icon. 
Select *Properties*.

2. Click the *Computer Name* tab.
3. Click the *Change* button.
Follow the instructions in steps *4* and *5* for *Windows 2000* above.
snip

Under the win 2k section number 5. enter the username Administrator?? 
And use the root password. Is this only for the initial connection to 
the domain? If so why isn't this done with a regular user? Previously I 
was attempting to use the username/user passwd that I created to match 
the account the client will be connecting from to connect to the domain, 
is there a link that someone can provide to clear up why this is done 
this way? And perhaps explain the pro's/con's. I've been all through the 
samba docs and on google for days now. Perhaps I've missed the parts 
that explain this. And to addon what I just said, rather than using 
Administrator OR administrator (thought to perhaps be case sensitive 
after first error msg) 

Re: [Samba] force create mode issue

2004-07-29 Thread Jeremy Allison
On Thu, Jul 29, 2004 at 10:31:00AM +0200, Zounek, Alex, Patentanwaltskanzlei Zounek 
wrote:
 Dear List,
 
 I'd like to report my observations on a Samba new file permissions problem
 for which I found
 dozens of support requests on the net without any useful replies.
 
 Hopefully, my observations help identify the root cause of this issue which
 also seems to occur
 with new Samba versions 3.0.x.
 
 In our domain we operate a file server under Samba 2.2.8a as PDC. Overall we
 are delighted with Samba.
 Many thanks and compliments to the Samba team.
 
 There is only one slightly annoying issue with new file permissions.
 
 
 1. PDC »maestro« hosts 2 Samba shares named »parent« and »child« which are
 set up as:

 [parent]
 path=/home/data/parent
 writeable=Yes
 
 [child]
 path=/home/data/parent/child
 browseable=No
 writeable=Yes
 oplocks=no
 level2 oplocks=no
 create mode = 0770
 force create mode = 0660
 directory mode = 0770
 force directory mode = 0770
 
 
 2. The Linux permissions on both directories »parent« and »child« are:
 
 drwxrwx---  root  users   i.e. members of the users group have rwx
 permissions.
 
 
 3. On our Windows NT and XP client machines we have mapped the »parent«
 share to network drive X:
 
 
 4. If user »otto« who is a member of the users group accesses the »child«
 share via »X:\child« and creates a new file or directory,
the new file/directory permissions are set to:

-rwxr--r--  otto  users  or  drwxr-xr-x  otto  users

This agrees with the Samba default »create mode 755« but is not not what
 we expect considering the 
»create mode« and »force create mode« settings of the »child« share.

But it is what we expect via access using the parent share.
When access is via one share, settings on other shares are
ignored - no matter if they map to the same directory.

To behave otherwise would be chaos I'm afraid.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Speed issue with one directory only

2004-07-29 Thread Jamie Heinzel -- Work
I am having a speed issue with Samba and only one folder (/var/www/html) I'm not sure 
what to try next. I have problems browsing to this folder from WINXP, it seems to hang 
for about 30 seconds before accessing it. This doesn't happen with any other 
directories on the box. This directory has a Samba share setup for it, but the speed 
issue comes up if I use another share and browse to this directory too. Also I have 
tried browsing to this directory with Webmin's file manager and it also has speed 
issues, so anyone have any ideas? Thanks in advance.

Jamie
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Solution?: Building Samba 3.0.5 on HP-UX 11.11

2004-07-29 Thread Ryan Novosielski
Even with HP-AnsiC? I don't have this kind of problem. I have been 
building Samba for years with the HP compilers. There is the occasional 
snafu (Ying Li's patch does solve the problem however), but it generally 
works. I don't believe I have this TCOE environment.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin 
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Thu, 29 Jul 2004, topher wrote:
well -- after MUCH messing about, and traipsing through the source
code, and traversing through the configure scripts -- and tracking
down libraries and library dependencies -- and header files... (you
get the general idea here) --
rebuild a server to test a theory, and it appears to hold true -- if
you install the 'regular' Operating Environment Component, there are
actually libraries around that are totally botched and messed up --
all kinds of flaws in them...  swlist HPUX11i-OE will tell you if you
have this configuration -- if it comes back with information, that's
what you have installed, and you're kinda up a tree...
IF, however, you installed the HP-UX Technical Computing OE Component
(HPUX11i-TCOE) those libraries are fixed -- and you are able to
configure, make, and make install HP with no problems...  (until you
try to access the IPC$ share on the HP host with a Mac OS X system,
then you get problems, but you can map directly to the specific share
without any problems at all..  go figure) --
SO -- if you can get your hands on a TCOE system, you can run
'configure --disable-shared --enable-statid' and then you can port
your /usr/local/samba directory around to the various other servers --
it appears to be stable thus far, and I'm just gonna keep my fingers
crossed
no -- I don't have any clue how you get from OE to TCOE without
re-installing -- sorry for that one...
later all!
toph
-- Forwarded message --
From: topher [EMAIL PROTECTED]
Date: Wed, 28 Jul 2004 13:32:25 -0400
Subject: Fwd: Building Samba 3.0.5 on HP-UX 11.11
To: [EMAIL PROTECTED]
got a couple of requests for further information -- so here's an update:
yes, I've done the configure and make as root and as a regular user,
things die with either compiler in the same place I'm afraid
yes, I've run 'autoconf' before running configure, and the only
difference I've seen is that the errors during configure get more
'stuff' wrapped around them to make them more apparent...  the errors
in the log are the same --
here is the exact error message I get during make using gcc:
Compiling dynconfig.c
In file included from include/includes.h:109,
from dynconfig.c:21:
/usr/include/sys/socket.h:484: error: parse error before sendfile
/usr/include/sys/socket.h:484: error: parse error before bsize_t
/usr/include/sys/socket.h:486: error: parse error before sendpath
/usr/include/sys/socket.h:486: error: parse error before bsize_t
/usr/include/sys/socket.h:493: error: parse error before sendfile64
/usr/include/sys/socket.h:493: error: parse error before bsize64_t
/usr/include/sys/socket.h:495: error: parse error before sendpath64
/usr/include/sys/socket.h:495: error: parse error before bsize64_t
In file included from /usr/include/sys/mp.h:55,
from /usr/include/sys/malloc.h:59,
from /usr/include/net/netmp.h:53,
from /usr/include/net/if.h:59,
from include/includes.h:275,
from dynconfig.c:21:
/usr/include/machine/sys/setjmp.h:45: error: redefinition of `struct label_t'
In file included from dynconfig.c:21:
include/includes.h:495: error: conflicting types for `socklen_t'
/usr/include/sys/socket.h:199: error: previous declaration of `socklen_t'
make: *** [dynconfig.o] Error 1
any other thoughts/suggestions are appreciated and MORE than welcome!
toph

-- Forwarded message --
From: topher [EMAIL PROTECTED]
Date: Wed, 28 Jul 2004 09:32:06 -0400
Subject: Building Samba 3.0.5 on HP-UX 11.11
To: [EMAIL PROTECTED]
First -- to avoid the common answers to the 'building on HP-UX'
questions that seem to be available on the list and the web:
1) using the depot from the Porting Center won't work, it's well
downrev of 3.0.5 and I need to get the new security fixes (so that the
security team will go back into it's dark dank den and fear not for
the security of our environment)
2) samba.org only has a 3.0.4a binary package for HP-UX -- so again,
no security fixes
as such, I'm trying to build 3.0.5 on HP-UX 11.11 -- and I'm running
into the same problem I pretty much always seem to run into:
if I use gcc (gcc 3.3.2 off the porting center), configure runs
through with several errors that look like:
configure: WARNING: foo/bar.h: present but cannot be compiled
configure: WARNING: foo/bar.h: check for missing prerequisite headers?
configure: WARNING: foo/bar.h: proceeding with the preprocessor's result
where foo 

Re: [Samba] samba runs 1 month and then crash and never come back

2004-07-29 Thread James Coggan
I recompiled, its working again
do you think it solved or the problem will be back???
John H Terpstra wrote:
On Thursday 29 July 2004 11:22, you wrote:
 

Nope, no one touched the machine in 2 days
I'm trying the reboot but then what? is it a bug???
I'm using 3.0.5 version
   

Could it be possible that you have updated or patched glibc recently?
What is your OS? How is it updated?
Did you build the Samba installation or did you obtain it from elsewhere?
- John T.
 

John H Terpstra wrote:
   

James,
Did you update glibc by any chance? Have you rebooted the system and does
it still happen following a reboot?
What version of Samba is this?
- John T.
On Thursday 29 July 2004 10:44, James Coggan wrote:
 

guys need help
my samba was working fine for about 1 month then it stoped working and
now i get this error log
   

...
 

[2004/07/29 13:36:54, 3] smbd/server.c:main(787)
loaded services
[2004/07/29 13:36:54, 3] smbd/server.c:main(802)
Becoming a daemon.
[2004/07/29 13:36:54, 0] lib/util.c:process_exists(1259)
PANIC: assert failed at lib/util.c(1259)
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
PANIC: assert failed
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
BACKTRACE: 8 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
#1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
#2 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
#3 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
#4 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
#5 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
#6 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
#7 /usr/sbin/smbd [0x8074f41]
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(36)
===
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 6 in pid 26661 (3.0.5)
Please read the appendix Bugs of the Samba HOWTO collection
[2004/07/29 13:36:54, 0] lib/fault.c:fault_report(39)
===
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
PANIC: internal error
[2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
BACKTRACE: 14 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
#1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
#2 /usr/sbin/smbd [0x81c5d0e]
#3 /usr/sbin/smbd [0x81c5d75]
#4 /lib/libc.so.6 [0x40200078]
#5 /lib/libc.so.6(abort+0x178) [0x402015a8]
#6 /usr/sbin/smbd(readdirname+0) [0x81da786]
#7 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
#8 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
#9 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
#10 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
#11 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
#12 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
#13 /usr/sbin/smbd [0x8074f41

my smb.conf
[global]
 load printers = yes
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
 admin users = @domain_admins
 logon drive = H:
 domain master = Yes
 encrypt passwords = yes
 passwd program = /usr/bin/smbpasswd -U %u
 smb passwd file = /etc/samba/private/smbpasswd
 logon home = \\action\%u
 printer admin = @domain_admins
 wins support = yes
 netbios name = ACTION
 printing = cups
 printcap name = cups
 logon script = LOGIN.BAT
 default = global
#   dos charset = 850
 unix password sync = yes
 workgroup = COGGAN
 logon path = \\%N\profiles\%U
 os level = 99
 preferred master = yes
 local master = yes
 security = user
#   unix charset = ISO8859-1
 domain logons = Yes
 log level = 5
 passwd chat = *password* %n\n *password* %n\n *successful*
 passwd chat debug = Yes
 time server = yes
 server string = Samba %v as PDC
 add user script = /usr/sbin/useradd -g 106 -d /dev/null -s
/bin/False %u
[netlogon]
 comment = Network Logon Service
 path = /home/netlogon
 write list = @domain_admins
[homes]
 comment = Home Directories
 valid users = %S
 read only = No
 create mask = 0664
 directory mask = 0775
 browseable = No
[profiles]
 path = /home/profile
 browsable = no
 writable = yes
 create mask = 0600
 directory mask = 0700
[public]
 path = /home/pub
 read only = No
 create mask = 0777
 directory mask = 0777
 public = yes
 valid users = @users @domain_admins
 write list = @users @domain_admins
[backup]
 path = /backup
 read only = No
 create mask = 0777
 directory mask = 0777
 public = yes
 valid users = @users @domain_admins
 write list = @users @domain_admins
[alquest]
 path = /home/alquest
 read only = No
 create mask = 0777
 directory mask = 0777
 public = yes
 valid users = @users @domain_admins
 write list = @domain_admins
#[downloads]
#   path = /home/downloads
#   read only = No
#   create mask = 0777
#   directory mask = 0777
#   valid users = @users @domain_admins
#   write list 

Re: [Samba] Speed issue with one directory only

2004-07-29 Thread rruegner
Hi ,
browsing with webmin is no test at all,
winxp has a service running called windows xp Webclient
disable it for a better performance browsing networks
disable buggy win xp firewall (check other firewall products might run) 
 check your tcp/ip settings ( do you have a winsserver , or is samba 
your winserver , did you include it ? )
install a dns server, read the faqs , check your logs
think of if you connecting to that share that windows makes a look on it
to play the right related icons relating to you file types ( you may 
disable this in explorer settings)
high log level slow down samba , as wrong performance settings, in the 
smb.conf
Regards

Jamie Heinzel -- Work schrieb:
I am having a speed issue with Samba and only one folder (/var/www/html) I'm not sure 
what to try next. I have problems browsing to this folder from WINXP, it seems to hang 
for about 30 seconds before accessing it. This doesn't happen with any other 
directories on the box. This directory has a Samba share setup for it, but the speed 
issue comes up if I use another share and browse to this directory too. Also I have 
tried browsing to this directory with Webmin's file manager and it also has speed 
issues, so anyone have any ideas? Thanks in advance.
Jamie
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Winbind + ext3 ACLs

2004-07-29 Thread Sean Kennedy
Hi folks,
For the longest time, I've had a problem changing or modifying ACLs from 
my window clients.  Whenever I tried, I'd get this in the logs:

[2004/07/29 12:36:26, 0] smbd/posix_acls.c:create_canon_ace_lists(823)
 create_canon_ace_lists: unable to map SID 
S-1-5-21-1292428093-651377827-x-1333 to uid or gid.

I could change the ACLs using getfacl/setfacl, btw. 

After a little investigation, I think I've found the problem.  I'm using 
winbind here, but I'm using this option:

winbind use default domain = yes
Which, for the sake of completeness, strips out domain info out of the 
username.  So instead of `BOCA/skennedy`, it comes out as `skennedy`.  
This is where I think my problem is.  Using wbinfo, I resolved that SID 
to BOCA/skennedy, who happens to be a completely different user name.

My question is this:  Does my logic seem correct to everyone else?  Is 
there anything else I should be looking at?  Further, does anybody have 
a solution to this problem?  This server is also a web/email server for 
the intranet, and I am trying to avoid setting up a new server ( we have 
4 going already, mainly for window crap ) if at all possible.

Any help is greatly apprecaited.
Sean
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] moving roaming profiles from 1 server to another

2004-07-29 Thread Alex Sharaz
hi all
I'm trying to move a roaming profile directory structure from 1 server to 
another

Server 1 - old server to be phased out
Server 2 new server
At moment, user home directories are on server 2 along with various 
applications
Server 1 has an ldap database, servies the printing and stores the roaming 
profiles

The idea is to phase everything onto Server 2
Looking at my samba book, the smb.conf entry logon 
path=backslashbackslash%Lbackslashprofilesbackslash%u
is a UNC that is relative to the profiles share.

Would a simple way of moving the storage of the roaming profiles be to 
create a profiles share on server 2 and then replace %L in the above 
statement on server 1 to be the hostname of Server 2

... or do I have to set up an nfs mount from server 1 to server 2 that 
points to the appropriate directory and use that?

BTW Samba 2.2.8a
TIA
Alex
Sent using Mulberry 3.1.2
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Winbind + ext3 ACLs

2004-07-29 Thread Umberto Zanatta
You should set up smb.conf like that:

winbind trusted domains only = yes
winbind use default domain = no

When you change acl in files server, you will do:

setacl -m u:skennedy:rwx,d:u:skennedy:rwx  vattelapesca.doc

u.

Il gio, 2004-07-29 alle 23:06, Sean Kennedy ha scritto:

 Hi folks,
 
 For the longest time, I've had a problem changing or modifying ACLs from 
 my window clients.  Whenever I tried, I'd get this in the logs:
 
 [2004/07/29 12:36:26, 0] smbd/posix_acls.c:create_canon_ace_lists(823)
   create_canon_ace_lists: unable to map SID 
 S-1-5-21-1292428093-651377827-x-1333 to uid or gid.
 
 I could change the ACLs using getfacl/setfacl, btw. 
 
 After a little investigation, I think I've found the problem.  I'm using 
 winbind here, but I'm using this option:
 
 winbind use default domain = yes
 
 Which, for the sake of completeness, strips out domain info out of the 
 username.  So instead of `BOCA/skennedy`, it comes out as `skennedy`.  
 This is where I think my problem is.  Using wbinfo, I resolved that SID 
 to BOCA/skennedy, who happens to be a completely different user name.
 
 My question is this:  Does my logic seem correct to everyone else?  Is 
 there anything else I should be looking at?  Further, does anybody have 
 a solution to this problem?  This server is also a web/email server for 
 the intranet, and I am trying to avoid setting up a new server ( we have 
 4 going already, mainly for window crap ) if at all possible.
 
 Any help is greatly apprecaited.
 
 Sean

___
Umberto Zanatta
linuxDidattica

tel: +39 (335) 54 71 385
email: [EMAIL PROTECTED]
web: http://linuxdidattica.org
___
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Winbind + ext3 ACLs

2004-07-29 Thread Sean Kennedy
Umberto Zanatta wrote:
You should set up smb.conf like that:
winbind trusted domains only = yes
winbind use default domain = no
When you change acl in files server, you will do:
setacl -m u:skennedy:rwx,d:u:skennedy:rwx  vattelapesca.doc
u.
I am so confused.  :)  I tried it out on my test server, and your advice 
worked flawlessly!  Then...I tried it on my work server, and it failed, 
displaying the domains as well.  So then, after I fixed that, I checked 
out the man page, and found this:

  winbind trusted domains only (G)
 This parameter is designed to allow Samba servers that 
are  mem-
 bers  of  a  Samba  controlled  domain to use UNIX 
accounts dis-
 tributed via NIS, rsync, or LDAP as the uids for winbindd 
users
 in  the  hosts  primary domain. Therefore, the user 
DOMAIN\user1
 would be mapped to the account user1 in /etc/passwd  
instead  of
 allocating a new uid for him or her.

 Default: winbind trusted domains only = no
Given my setup, I have no users in /etc/passwd, beyond what the system 
is installed with, so it shouldn't have worked, even on my test system. 

I mean, if that's what I need to do, then that's what i need to do, but 
I want to understand what this is doing before I jump into it.  :)  
Thank you for your help thus far!

Sean
Il gio, 2004-07-29 alle 23:06, Sean Kennedy ha scritto:
/Hi folks,
For the longest time, I've had a problem changing or modifying ACLs from 
my window clients.  Whenever I tried, I'd get this in the logs:

[2004/07/29 12:36:26, 0] smbd/posix_acls.c:create_canon_ace_lists(823)
 create_canon_ace_lists: unable to map SID 
S-1-5-21-1292428093-651377827-x-1333 to uid or gid.

I could change the ACLs using getfacl/setfacl, btw. 

After a little investigation, I think I've found the problem.  I'm using 
winbind here, but I'm using this option:

winbind use default domain = yes
Which, for the sake of completeness, strips out domain info out of the 
username.  So instead of `BOCA/skennedy`, it comes out as `skennedy`.  
This is where I think my problem is.  Using wbinfo, I resolved that SID 
to BOCA/skennedy, who happens to be a completely different user name.

My question is this:  Does my logic seem correct to everyone else?  Is 
there anything else I should be looking at?  Further, does anybody have 
a solution to this problem?  This server is also a web/email server for 
the intranet, and I am trying to avoid setting up a new server ( we have 
4 going already, mainly for window crap ) if at all possible.

Any help is greatly apprecaited.
Sean/
 

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba - LDAP - User cannot loginfrom 1workstation

2004-07-29 Thread Arno Seidel
Hi,

but you can copy the local profile to another directroy and then create a
new user... log in first as this user...log out... log in as administrator
and copy the content of the
original profile in the new created profile... and then if everything
works...you can delete the old user... that doing would keep the specific
settings of the user...
the problem must be somewhere in the users-settings, because the username /
password works on other workstations, and on this workstation other users
/passwords work
correct.

Arno
  -Ursprungliche Nachricht-
  Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Gesendet: Donnerstag, 29. Juli 2004 14:06
  An: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Betreff: Re: AW: [Samba] Samba - LDAP - User cannot loginfrom 1workstation



  I have tried everything : logging of the user; rebooting machines...

  I have thought about giving a new username; but there are lots of programs
installed on his machine; all with registry dependencies (Delphi 5 for one)
and creating a new user would make him loose all his settings (we don't save
the profile on the servers)

  Samba sid et all are correct.

  Bert De Ridder




Arno Seidel [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
29/07/2004 11:01 Please respond to
  [EMAIL PROTECTED]


   To [EMAIL PROTECTED]
  cc
  Subject AW: [Samba] Samba - LDAP - User cannot loginfrom
1workstation







  Hi,

  i?m wondering about that this behavior is only for one user..
  why does another user in the same segment of the domain not behave
similar?
  How did you changed the users to try?? Did you just log of the user
mschijva
  and logged on with a diffrent user again..
  or did you restart the computer and logged in as a diffrent user?
  just a silly question: when this is the only one user with that behavior
why
  you don?t give him a new
  username?
  Did you checked the uid / samba-SID and any nurmeric value of that user in
  his ldap-entry?

   -Ursprungliche Nachricht-
   Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Gesendet: Mittwoch, 28. Juli 2004 15:09
   An: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Betreff: Re: AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom
  1workstation



   It becomes VERY weird...

   This afternoon I witnessed the following : the user logged on to his pc;
  accessed his home directory on the PDC; no problema; accessed another
share
  on the PDC; no problema; accessed a share on the BDC : connection refused.
  Going back to the PDC to access the home directory : connection refused.

   However; there were NO error entries in the logs on either Samba server.
  Only entries like these :
   [2004/07/28 13:29:38, 1] smbd/service.c:make_connection_snum(619)
 allier (192.168.0.190) connect to service cvs initially as user
mschijva
  (uid=1015, gid=100) (pid 22284)

   I'm completely lost now


   Bert De Ridder



 Arno Seidel [EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]
 28/07/2004 11:24 Please respond to
   [EMAIL PROTECTED]


To [EMAIL PROTECTED]
   cc [EMAIL PROTECTED]
   Subject AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot
  loginfrom1workstation







   Hi,

   what os does the client have? W98?

   in the system-controll folder there should be a icon (in german called
   Verwaltung) whre the local policies , the settings for odbc ...and mor
   are... there should be also an icon called
   eventmanager / display... maybe there is a log entry?

   Did you see some errrors on the samba side (instead of the connection
  reset
   by peer) if you try a higher debug-/log-level?

   the other way is, that you back-up the users home-directory, and his
   roaming-profile and completely remove him and (from windows / ldap /
samba
   ...) and readd him as a new
   user with a empty home and profile-directory... and then just put the
   saved-files (from the profile / homedirectory in the new created profile
/
   home-directory in.
   it could be that there are some settings in the profile are wrong.




   -Ursprungliche Nachricht-
   Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Gesendet: Mittwoch, 28. Juli 2004 08:23
   An: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Betreff: Re: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
   workstation



Yes, I have checked the LDAP entry; I even recreated it; I tried the
   user/pwd on 3 other machines : 2000 Prof. Wks; 2000 Server and XP Prof.
The local permissions on the machine are OK; I can add the domain user
to
   the local admin. group, so that should be ok.

I agree that it is not a server-side issue; but where on the client can
I
   start searching for errors ?


Regards,

Bert De Ridder

PeopleWare NV - Head Office
Cdt.Weynsstraat 85
B-2660 Hoboken
Tel: +32 3 448.33.38
Fax: +32 3 448.32.66


Re: [Samba] Samba 3.0.x and high processor utilication caused by /etc/passwd access

2004-07-29 Thread Heiko Boeringer
Jeremy,
seems not to help. I have disabled nscd with /etc/init.d/nscd stop but 
the situation keeps unchanged. A few minutes after stopping and starting 
samba I have the same situation. Here is may nsswitch.conf. What should 
I change in it? Do you have any other idea?

regads, Heiko
/etc/nsswitch.conf
##
passwd: compat
group:  compat
shadow: compat
hosts:  files dns
networks:   files
protocols:  db files
services:   db files
ethers: db files
rpc:db files
netgroup:   nis
Jeremy Allison wrote:
On Thu, Jul 29, 2004 at 08:18:22PM +0200, Böringer, Heiko wrote:
 

Hello together,
since upgrading on samba 3.0.x (issue happens with all 3.0. release) the
cpu-load on my samba PDC ist constantly near 100%. The cpu power ist
consumed by all running smb-processes. Systrace shows me that the smb
processes tried to access to /etc/passwd on a permanent basis. My question
is: Why tries samba to access etc/passwd so often and produces this high
cpu-load?
Regards,
Heiko Böringer
Rights for smbpasswd are set as following

-rw-r--r--1 root root 5540 Jul 27 15:15 passwd
Systemconfiguration

- Debian 3.0 (Woddy)
- Samba with an the samba3.0.5.deb from the unstable tree (but happends
with
all other versions too)
- Configured als PDC with SMBPASSWD Authentification (no windbind, kerberos,
ldap..)
TOP shows the following

 PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
19094 nobody18   0  3872 3872  3440 R 8.7  0.7  43:22 smbd
5213 nobody18   0  3784 3784  3400 R 8.7  0.7  29:43 smbd
9345 nobody17   0  4100 4100  3628 R 8.7  0.7  29:24 smbd
10237 nobody19   0  3772 3772  3400 R 8.7  0.7  29:06 smbd
17121 nobody17   0  4140 4140  3632 R 8.7  0.8  28:02 smbd
20776 nobody18   0  3668 3668  3324 R 8.7  0.7  27:48 smbd
17915 nobody18   0  3768 3768  3388 R 8.7  0.7  46:35 smbd
18441 nobody17   0  4128 4128  3640 R 8.5  0.7  45:16 smbd
25605 nobody18   0  3784 3784  3400 R 8.5  0.7   6:38 smbd
1065 root  16   0  5504 5504  3928 R 7.1  1.0   0:59 smbd
28475 root   9   0  4280 4280  3700 S 0.3  0.8   0:02 smbd
Systrace on one of the smbd processes shows the following:

open(/etc/passwd, O_RDONLY)   = 26
fcntl64(26, F_GETFD)= 0
fcntl64(26, F_SETFD, FD_CLOEXEC)= 0
_llseek(26, 0, [0], SEEK_CUR)   = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x4051
_llseek(26, 5540, [5540], SEEK_SET) = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
munmap(0x4051, 5540)= 0
close(26)   = 0
open(/etc/passwd, O_RDONLY)   = 26
fcntl64(26, F_GETFD)= 0
fcntl64(26, F_SETFD, FD_CLOEXEC)= 0
_llseek(26, 0, [0], SEEK_CUR)   = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x4051
_llseek(26, 5540, [5540], SEEK_SET) = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
munmap(0x4051, 5540)= 0
close(26)   = 0
open(/etc/passwd, O_RDONLY)   = 26
fcntl64(26, F_GETFD)= 0
fcntl64(26, F_SETFD, FD_CLOEXEC)= 0
_llseek(26, 0, [0], SEEK_CUR)   = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x4051
_llseek(26, 5540, [5540], SEEK_SET) = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
munmap(0x4051, 5540)= 0
close(26)   = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 26
connect(26, {sin_family=AF_UNIX, path=/var/run/.nscd_socket}, 110) = -1
ECONNREFUSED (Connection refused)
close(26)   = 0
   

Looks like a nsswitch bug whilst talking to nscd. Turn off
nscd from nsswitch.conf and see if the problem still occurs.
Jeremy.
 

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3 PDC with LDAP backend problem

2004-07-29 Thread Bousquet Francois
I am installing an Samba 3 PDC with an OpenLDAP backend.

I am currently having a problem when I try to add a Windows workstation to
the domain with the Administrator user or trying to connect to a share.

I get the following error :

[2004/07/29 13:35:22, 1] auth/auth_util.c:make_server_info_sam(822)
  User Administrator in passdb, but getpwnam() fails!
[2004/07/29 13:35:22, 0] auth/auth_sam.c:check_sam_security(260)
  check_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'

But the user exists in my ldap, because if I do this command :

# getent passwd | grep Administrator
Administrator:x:0:512:Netbios Domain Administrator:/home/:/bin/false

nss_ldap is installed and configured proprely :
# grep ldap /etc/nsswitch.conf
passwd: files ldap
group:  files ldap
#


Here is my smb.conf

[global]
workgroup = DEV_BLC
netbios name = ud1981wfx01
passdb backend = ldapsam:ldap://ud1981wfx01
#username map = /etc/samba/smbusers
add user script = /usr/local/sbin/smbldap-useradd -m '%u'
delete user script = /usr/local/sbin/smbldap-userdel %u
add group script = /usr/local/sbin/smbldap-groupadd -p '%g'
delete group script = /usr/local/sbin/smbldap-groupdel '%g'
add user to group script = /usr/local/sbin/ \
smbldap-groupmod -m '%g' '%u'
delete user from group script = /usr/local/sbin/ \
smbldap-groupmod -x '%g' '%u'
set primary group script = /usr/local/sbin/ \
smbldap-usermod -g '%g' '%u'
add machine script = /usr/local/sbin/smbldap-useradd -w '%u'
#logon script = scripts\logon.bat
#logon path = \\%L\Profiles\%U
#logon drive = H:
#logon home = \\%L\%U
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes
ldap suffix = dc=blc,dc=com
ldap machine suffix = ou=People
ldap user suffix = ou=People
ldap group suffix = ou=People
ldap idmap suffix = ou=People
ldap admin dn = cn=Manager,dc=blc,dc=com
idmap backend = ldap:ldap://ud1981wfx01
ldap passwd sync = Yes
idmap uid = 15000-2
idmap gid = 15000-2
winbind separator = +

[share1]
path = /tmp

[share2]
path = /
browseable = Yes
comment = Some random files


Any idea ?

- Francois
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba 3 PDC with LDAP backend problem

2004-07-29 Thread Jim C.
ldap machine suffix = ou=People
ldap user suffix = ou=People
ldap group suffix = ou=People
Sure the above shouldn't be ou=Group?
Can you do this and see ldap users?:
getent group
ldap idmap suffix = ou=People
ldap admin dn = cn=Manager,dc=blc,dc=com
idmap backend = ldap:ldap://ud1981wfx01
ldap passwd sync = Yes
idmap uid = 15000-2
idmap gid = 15000-2
winbind separator = +

--
-
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: [EMAIL PROTECTED]  AIM: WyteLi0n  ICQ: 123291844 |
|---|
| Y!: j_c_llings   Jabber: [EMAIL PROTECTED]|
-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Time out failure with mvfs on Linux - FIXED

2004-07-29 Thread Jeremy Allison
On Mon, Jul 26, 2004 at 03:31:53PM +0100, Nick THOMPSON wrote:
 Well, worked around. It seems statfs returns a zero value for the block
 size, which is then passed to adjust_blocks in the fromsize parameter.
 This causes a divide by zero exception. I have modified the function to
 check for the zero value and assume a reasonable default.
 
 I have reported the issue to Rational, for a real fix, but I guess Samba
 should protect itself anyway and prevent the exception if it can.

Yep - I agree. Thanks,

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Symlinks out of sharing still not working on 3.0.5

2004-07-29 Thread Vandeir Eduardo
Hi guys,

samba client version 3.0.5, server version 3.0.5, kernel 2.4.26.

Relevant configs on server:
unix extensions = Yes
wide links = Yes
follow symlinks = Yes

On client computer with home user mounted via smbfs
I'm trying this:

D102-054 [/lp/home/dito/tmp]  cd /tmp
D102-054 [/tmp]  mkdir dest_dir
D102-054 [/tmp]  cd -
D102-054 [/lp/home/dito/tmp]  ln -s /tmp/dest_dir orig_dir
D102-054 [/lp/home/dito/tmp]  ls -la
total 524292
drwx--1 dito bcc 0 Jul 29 21:11 .
drwx-x1 dito alunos   4096 Jul 29 21:08 ..
lrwxrwxrwx1 dito bcc12 Jul 29 21:11 orig_dir - tmp/dest_dir

Why samba is linking to tmp/dest_dir when should link
to /tmp/dest_dir? (note initial slash missing)

D102-054 [/lp/home/dito/tmp]  mkdir tmp2
D102-054 [/lp/home/dito/tmp]  mkdir dest_dir2
D102-054 [/lp/home/dito/tmp]  cd tmp2
D102-054 [/lp/home/dito/tmp/tmp2]  ln -s ../dest_dir2 orig_dir2
ln: creating symbolic link `orig_dir2' to `../dest_dir2': input/output error

Other symlinks that don't start whith .. ou / works
properly. What's going on here? This is driving me crazy!

Thanks in advance.

__
Vandeir Eduardo (CCNA, LPIC-2)
Laboratório de Computação e Informática (LCI) - Campus IV
Fundacao Universidade Regional de Blumenau (FURB)
Rua Braz Wanka, 238 - CEP: 89.035-160 - Blumenau (SC)
Blumenau, SC, Brasil.
Fone: +55 (047) 321-7819 - Fax: 321-7802

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Symlinks out of sharing still not working on 3.0.5

2004-07-29 Thread Jeremy Allison
On Thu, Jul 29, 2004 at 09:28:04PM -0300, Vandeir Eduardo wrote:
 Hi guys,
 
 samba client version 3.0.5, server version 3.0.5, kernel 2.4.26.
 
 Relevant configs on server:
 unix extensions = Yes
 wide links = Yes
 follow symlinks = Yes
 
 On client computer with home user mounted via smbfs
 I'm trying this:
 
 D102-054 [/lp/home/dito/tmp]  cd /tmp
 D102-054 [/tmp]  mkdir dest_dir
 D102-054 [/tmp]  cd -
 D102-054 [/lp/home/dito/tmp]  ln -s /tmp/dest_dir orig_dir
 D102-054 [/lp/home/dito/tmp]  ls -la
 total 524292
 drwx--1 dito bcc 0 Jul 29 21:11 .
 drwx-x1 dito alunos   4096 Jul 29 21:08 ..
 lrwxrwxrwx1 dito bcc12 Jul 29 21:11 orig_dir - tmp/dest_dir
 
 Why samba is linking to tmp/dest_dir when should link
 to /tmp/dest_dir? (note initial slash missing)
 
 D102-054 [/lp/home/dito/tmp]  mkdir tmp2
 D102-054 [/lp/home/dito/tmp]  mkdir dest_dir2
 D102-054 [/lp/home/dito/tmp]  cd tmp2
 D102-054 [/lp/home/dito/tmp/tmp2]  ln -s ../dest_dir2 orig_dir2
 ln: creating symbolic link `orig_dir2' to `../dest_dir2': input/output error
 
 Other symlinks that don't start whith .. ou / works
 properly. What's going on here? This is driving me crazy!

smbfs doesn't support symlinks correctly I believe. I would
strongly suggest using the CIFSFS client - this does work
and is in fact the target platform for Linux client - Samba Server
CIFS.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.0.x and high processor utilication caused by /etc/passwd access

2004-07-29 Thread Andrew Bartlett
On Fri, 2004-07-30 at 09:04, Heiko Boeringer wrote:
 Jeremy,
 
 seems not to help. I have disabled nscd with /etc/init.d/nscd stop but 
 the situation keeps unchanged. A few minutes after stopping and starting 
 samba I have the same situation. Here is may nsswitch.conf. What should 
 I change in it? Do you have any other idea?

There is an issue (fixed in SVN?) when we have a group, with a member
that does not 'exist'.  Check that all  your group members are valid
accounts.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Samba 3 + LDAP as PDC join domain problem

2004-07-29 Thread Jacky C.K Tsoi
Hi all,

I've setup Samba 3.0.5 + OpenLDAP (ldapsam) and everything work correctly.
However, while my Windows 200x workstation join the domain, I need to join it 
twice. Here is what I do:

1. Go to Computer properties - Computer Name - Change
2. Enter the new domain name
3. Enter Administrator and password

then, it will return me that the user name cannot be found.
I've checked the LDAP directory that the computer account is created 
successfully without any problem.  So, I click OK again and enter the 
Administrator account password again, and it success.

So, I'd like to know, why I need to do it twice even though the computer 
account is already created successfully at the fist time?

Thanks a lot.


---
Jacky C.K Tsoi

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba and kerberos MIT

2004-07-29 Thread karl wichmann
Hallo

I have W2k workstation with authentication on a MIT Kerberos server.
This works fine.
But how must i config the samba, to use MIT as the Kerberos Server?
I Don't want use Microsoft ADS!

Software:
- Windows 2000 Pro
- Fedora 2

Thanks for help.

Karl Heinz Wichmann
[EMAIL PROTECTED]


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba and kerberos MIT

2004-07-29 Thread Andrew Bartlett
On Fri, 2004-07-30 at 15:27, karl wichmann wrote:
 Hallo
 
 I have W2k workstation with authentication on a MIT Kerberos server.
 This works fine.
 But how must i config the samba, to use MIT as the Kerberos Server?
 I Don't want use Microsoft ADS!
 
 Software:
 - Windows 2000 Pro
 - Fedora 2

I'm yet to test this patch, but this is how I want to do it.

You will need to add a host/ and a cifs/[EMAIL PROTECTED] principals to
your local keytab, and set 'use kerberos keytab = yes'.

Let me know how it all goes :-)

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

svn commit: samba r1602 - branches/SAMBA_4_0/source/libcli/raw

2004-07-29 Thread tridge
Author: tridge
Date: 2004-07-29 08:14:34 + (Thu, 29 Jul 2004)
New Revision: 1602

Modified:
   branches/SAMBA_4_0/source/libcli/raw/clisession.c
Log:
make sure we honor the use_spnego flag


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1602nolog=1


svn commit: samba r1603 - branches/SAMBA_4_0/source/libcli/raw

2004-07-29 Thread tridge
Author: tridge
Date: 2004-07-29 09:30:54 + (Thu, 29 Jul 2004)
New Revision: 1603

Modified:
   branches/SAMBA_4_0/source/libcli/raw/clitransport.c
Log:
fixed in.size to not overstate the packet size by 4 bytes

my apologies to abartlett for thinking this was his bug!



WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1603nolog=1


svn commit: samba r1604 - branches/SAMBA_4_0/source/libcli/raw

2004-07-29 Thread abartlet
Author: abartlet
Date: 2004-07-29 10:13:34 + (Thu, 29 Jul 2004)
New Revision: 1604

Modified:
   branches/SAMBA_4_0/source/libcli/raw/smb_signing.c
Log:
Samba4 avoids memcpy() as much as possible - we don't need to make a copy here.

Andrew Bartlett


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1604nolog=1


svn commit: samba r1605 - branches/SAMBA_4_0/source/libcli/auth

2004-07-29 Thread abartlet
Author: abartlet
Date: 2004-07-29 10:33:36 + (Thu, 29 Jul 2004)
New Revision: 1605

Modified:
   branches/SAMBA_4_0/source/libcli/auth/gensec_krb5.c
   branches/SAMBA_4_0/source/libcli/auth/spnego.c
Log:
GENSEC krb5 updates - fix a valgrind found uninitialised variable, and
allow tests for 'unwrapped' krb5, allowed by Win2k3.

SPENGO changes, trying to get the logic right (when and what
sub-mechanisms to wrap).

Andrew Bartlett



WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1605nolog=1


svn commit: samba r1606 - branches/SAMBA_4_0/source/lib

2004-07-29 Thread tridge
Author: tridge
Date: 2004-07-29 11:55:57 + (Thu, 29 Jul 2004)
New Revision: 1606

Modified:
   branches/SAMBA_4_0/source/lib/util_sock.c
Log:
make the low level socket read/write routines cope properly with non-blocking sockets



WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1606nolog=1


svn commit: linux-cifs-client r2 - /

2004-07-29 Thread metze
Author: metze
Date: 2004-07-29 19:29:08 + (Thu, 29 Jul 2004)
New Revision: 2

Added:
   dummy
Log:
add dummy commit test file

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=linux-cifs-clientpath=/rev=2nolog=1


svn commit: linux-cifs-client r3 - in branches: . linux-2.4 linux-2.4/fs linux-2.4/fs/cifs

2004-07-29 Thread metze
Author: metze
Date: 2004-07-29 19:45:51 + (Thu, 29 Jul 2004)
New Revision: 3

Added:
   branches/linux-2.4/
   branches/linux-2.4/26to24_backporting_considerations
   branches/linux-2.4/cifs_24.patch
   branches/linux-2.4/cifs_25.patch
   branches/linux-2.4/fs/
   branches/linux-2.4/fs/cifs/
   branches/linux-2.4/fs/cifs/AUTHORS
   branches/linux-2.4/fs/cifs/CHANGES
   branches/linux-2.4/fs/cifs/Makefile
   branches/linux-2.4/fs/cifs/README
   branches/linux-2.4/fs/cifs/TODO
   branches/linux-2.4/fs/cifs/asn1.c
   branches/linux-2.4/fs/cifs/cifs_debug.c
   branches/linux-2.4/fs/cifs/cifs_debug.h
   branches/linux-2.4/fs/cifs/cifs_fs_sb.h
   branches/linux-2.4/fs/cifs/cifs_unicode.c
   branches/linux-2.4/fs/cifs/cifs_unicode.h
   branches/linux-2.4/fs/cifs/cifs_uniupr.h
   branches/linux-2.4/fs/cifs/cifsencrypt.c
   branches/linux-2.4/fs/cifs/cifserr.c
   branches/linux-2.4/fs/cifs/cifsfs.c
   branches/linux-2.4/fs/cifs/cifsfs.h
   branches/linux-2.4/fs/cifs/cifsglob.h
   branches/linux-2.4/fs/cifs/cifspdu.h
   branches/linux-2.4/fs/cifs/cifsproto.h
   branches/linux-2.4/fs/cifs/cifssmb.c
   branches/linux-2.4/fs/cifs/connect.c
   branches/linux-2.4/fs/cifs/dir.c
   branches/linux-2.4/fs/cifs/file.c
   branches/linux-2.4/fs/cifs/inode.c
   branches/linux-2.4/fs/cifs/link.c
   branches/linux-2.4/fs/cifs/md4.c
   branches/linux-2.4/fs/cifs/md5.c
   branches/linux-2.4/fs/cifs/md5.h
   branches/linux-2.4/fs/cifs/misc.c
   branches/linux-2.4/fs/cifs/netmisc.c
   branches/linux-2.4/fs/cifs/nterr.c
   branches/linux-2.4/fs/cifs/nterr.h
   branches/linux-2.4/fs/cifs/ntlmssp.h
   branches/linux-2.4/fs/cifs/rfc1002pdu.h
   branches/linux-2.4/fs/cifs/smbdes.c
   branches/linux-2.4/fs/cifs/smbencrypt.c
   branches/linux-2.4/fs/cifs/smberr.c
   branches/linux-2.4/fs/cifs/smberr.h
   branches/linux-2.4/fs/cifs/transport.c
Log:
import a copy of cifsvfs from cvs into branches/linux-2.4

(I run 'find -type f |xargs chmod -x' before commit)

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=linux-cifs-clientpath=/branchesrev=3nolog=1


svn commit: linux-cifs-client r4 - branches/linux-2.4

2004-07-29 Thread sfrench
Author: sfrench
Date: 2004-07-29 20:30:55 + (Thu, 29 Jul 2004)
New Revision: 4

Removed:
   branches/linux-2.4/cifs_25.patch
Log:
Remove obsolete file


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=linux-cifs-clientpath=/rev=4nolog=1


svn commit: linux-cifs-client r5 - in branches: . linux-2.6bk linux-2.6bk/fs linux-2.6bk/fs/cifs

2004-07-29 Thread sfrench
Author: sfrench
Date: 2004-07-29 21:53:31 + (Thu, 29 Jul 2004)
New Revision: 5

Added:
   branches/linux-2.6bk/
   branches/linux-2.6bk/README
   branches/linux-2.6bk/fs/
   branches/linux-2.6bk/fs/cifs/
   branches/linux-2.6bk/fs/cifs/AUTHORS
   branches/linux-2.6bk/fs/cifs/CHANGES
   branches/linux-2.6bk/fs/cifs/Makefile
   branches/linux-2.6bk/fs/cifs/README
   branches/linux-2.6bk/fs/cifs/TODO
   branches/linux-2.6bk/fs/cifs/asn1.c
   branches/linux-2.6bk/fs/cifs/cifs.ko
   branches/linux-2.6bk/fs/cifs/cifs.mod.c
   branches/linux-2.6bk/fs/cifs/cifs_debug.c
   branches/linux-2.6bk/fs/cifs/cifs_debug.h
   branches/linux-2.6bk/fs/cifs/cifs_fs_sb.h
   branches/linux-2.6bk/fs/cifs/cifs_unicode.c
   branches/linux-2.6bk/fs/cifs/cifs_unicode.h
   branches/linux-2.6bk/fs/cifs/cifs_uniupr.h
   branches/linux-2.6bk/fs/cifs/cifsencrypt.c
   branches/linux-2.6bk/fs/cifs/cifsfs.c
   branches/linux-2.6bk/fs/cifs/cifsfs.h
   branches/linux-2.6bk/fs/cifs/cifsglob.h
   branches/linux-2.6bk/fs/cifs/cifspdu.h
   branches/linux-2.6bk/fs/cifs/cifsproto.h
   branches/linux-2.6bk/fs/cifs/cifssmb.c
   branches/linux-2.6bk/fs/cifs/connect.c
   branches/linux-2.6bk/fs/cifs/dir.c
   branches/linux-2.6bk/fs/cifs/fcntl.c
   branches/linux-2.6bk/fs/cifs/file.c
   branches/linux-2.6bk/fs/cifs/inode.c
   branches/linux-2.6bk/fs/cifs/link.c
   branches/linux-2.6bk/fs/cifs/md4.c
   branches/linux-2.6bk/fs/cifs/md5.c
   branches/linux-2.6bk/fs/cifs/md5.h
   branches/linux-2.6bk/fs/cifs/misc.c
   branches/linux-2.6bk/fs/cifs/netmisc.c
   branches/linux-2.6bk/fs/cifs/nterr.c
   branches/linux-2.6bk/fs/cifs/nterr.h
   branches/linux-2.6bk/fs/cifs/ntlmssp.h
   branches/linux-2.6bk/fs/cifs/rfc1002pdu.h
   branches/linux-2.6bk/fs/cifs/smbdes.c
   branches/linux-2.6bk/fs/cifs/smbencrypt.c
   branches/linux-2.6bk/fs/cifs/smberr.h
   branches/linux-2.6bk/fs/cifs/transport.c
   branches/linux-2.6bk/fs/cifs/xattr.c
Log:
Create 2.6 branch to keep snapshorts of linux-cifs-client


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=linux-cifs-clientpath=/branchesrev=5nolog=1


svn commit: linux-cifs-client r7 - trunk

2004-07-29 Thread metze
Author: metze
Date: 2004-07-29 22:35:59 + (Thu, 29 Jul 2004)
New Revision: 7

Added:
   trunk/README
   trunk/fs/
Log:
copy linux-2.6bk code to trunk

metze


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=linux-cifs-clientpath=/rev=7nolog=1


svn commit: samba r1607 - trunk/source/lib

2004-07-29 Thread jra
Author: jra
Date: 2004-07-30 00:19:24 + (Fri, 30 Jul 2004)
New Revision: 1607

Modified:
   trunk/source/lib/fsusage.c
Log:
Fix from Nick THOMPSON [EMAIL PROTECTED] to protect smbd
against broken filesystems which return zero blocksize.
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1607nolog=1


  1   2   >