[Samba] The behavior of srvmrg.exe with Samba an adding machines

2004-10-21 Thread Michael Liebl
Hi List,
as discussed earlier, adding machines to a domain works in different ways
i you use srvmrg.exe oder adding while joining the domain.
Read about that here:
http://lists.samba.org/archive/samba/2004-October/094310.html

Igor Belyi said:
>| Interesting case... The request comes from Windows to update machine 
>| account with a bunch of new values and in this request RID of the 
>| primary group for the account (group_rid) is listed as 513 (0x201).
>| 
>| If you look at the 'fields_present' in the request you will notice that 
>| it requests almost all information to be updated - 09f827fa (this is a 
>| bitwise mask of fields to be updated). When I add a computer in my 
>| domain I have it only '00c4 fields_present : 0112'. Note, that on 
>| the other hand I have similar set of data updates when I create normal 
>| user with usrmgr.exe: "00c4 fields_present : 08f827fa".

So, just to finish this, who is guilty? ;-)

Samba? Has Samba to recheck the flags given from srvmgr.exe and should not
run 'set primary group script'? I mean, Samba knows in any way that the
account is a machine, because Samba sets the "W" attibute.

Comments and discussion suggested. TIA.

-- 
<) .--.
)#=+  '
   /## | .+.Best regards, 
,,/###,|,,| Michael

-- 
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.7 freezes on windows

2004-10-21 Thread Shafeek Sumser

Thanks.  

I wanted to add that i have installed samba 3.0.7-1 on
a laptop having a pcmicia network card.  

Here is my smb.conf

debian-acer:/tmp/k# cat testparm
# Global parameters
[global]
workgroup = MYLAN
netbios name = COMPAQ
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = smbpasswd, guest
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:*
%n\n *Retype\snew\sUNIX\spassword:* %n\n .
log level = 3
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
logon script = logon.bat
logon path = \\serverfs\profiles
logon drive = H:
domain logons = Yes
os level = 80
preferred master = Yes
domain master = Yes
dns proxy = No
panic action = /usr/share/samba/panic-action
%d
invalid users = root
admin users = admin

[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
browseable = No
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = Yes
share modes = No

[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No

[temp]
path = /tmp
read only = No
guest ok = Yes
browseable = yes
--- "Mark C. Casey" <[EMAIL PROTECTED]> wrote:

> You may need to post your smb.conf, I have a same
> kind of share as yours and it works fine.
> 
> For example:
> 
> [backup]
> browseable = yes
> comment = Backup share
> writable = yes
> public = yes
> path = /home/backup
> available = yes
> 
> The only difference being I have it set to available
> and a comment. Mine is perfectly accessible from a
> Windows XP Pro machine without any problems. (read &
> write)
> 
> Mark
> 
> 
> -Original Message-
> From:
> [EMAIL PROTECTED]
>
[mailto:[EMAIL PROTECTED]
> Behalf
> Of Shafeek Sumser
> Sent: 21 October 2004 13:58
> To: [EMAIL PROTECTED]
> Subject: [Samba] Samba 3.0.7 freezes on windows
> 
> 
> Hi
> 
> I have installed samba 3.0.7-1 on debian sarge.  I
> have configure it as standalone.  I put a share as
> follows: 
> [share]
> writeable = yes
> browseable = yes
> public = yes
> path = /home/samba
> 
> The permission on /home/samba is as follows: 
> chmod 777 /home/samba
> 
> Now on my windows XP, the share is listed when i
> browse.  I am also able to copy a file to the share.
> 
> But i cannot open the file and it just freeze my
> windows.  
> 
> Some helps will be much appreciated.
> 
> Thanks
> 
> 
> 
> 
>   
> __
> Do you Yahoo!?
> Take Yahoo! Mail with you! Get it on your mobile
> phone.
> http://mobile.yahoo.com/maildemo 
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
> http://lists.samba.org/mailman/listinfo/samba
> 




___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] extended attributes, samba and OS2

2004-10-21 Thread gillian
Hi,

I appologise if this totally irritates people as there seems to be quite
a lot of info about this issue but a lot of it is quite old, for samba
2.x and kernels around 2.0 also. I have been beating my head against it
for a little while - bumped into a dead end now ;(

I am running centos-3 x86_64 (RH ES equiv) with samba 3.0.7-1 as the
server, and OS2 as the client. Kernel is 2.4.21-20.EL. Connectivity is
no problem, OS2 just hooks straight on in. To test, I have been running

net use z: \\linx\linxdata
(no problems)

[C:]xcopy *.* z: /V /S

The xcopy seems to work fine until it hits the dir /Desktop, then it
stops, saying : The system cannot create this directory

I have 
*set ea support = yes in my smb.conf
*recompiled the kernel with extended attributes set to y
*mounted the ext3 LV with the user_xattr option set using tune2fs

I have also used the same command to xcopy /desktop to another OS2 drive
successfully.

I have also, from this copy, turned off all the attributes I could find
using attrib -R -H -A -whatever Desktop 

etc

All with the same result.

If I go into /Desktop, and try to copy files/dirs from there, I get an
extended attribute error saying the target directory doesn't support
extended attributes.

My questions are:
Am I doing a totally dumb thing trying to xcopy C drive?
Is there a problem with xcopy? (I am not that familiar with OS2)
Is there something I have missed wrt setting up the server to handle
extended attributes?



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


[Samba] You have no permission to change your password

2004-10-21 Thread Steve Simeonidis
Error when you try to change your password
from Windows XP, SP1, latest patches
(ctrl-Alt-Del)

Server configuration
Fedora Core 1
samba-3.0.7-2FC1


Samba is configured as PDC with roaming profiles.

I've just noticed testparm gives the following error
ERROR: the 'passwd chat' script [*old password* %o\n *new password* %n\n *new 
password* %n\n *changed*] expects to use the old plaintext password via the %o 
substitution. With encrypted passwords this is not possible.

workgroup = EWS-NET
netbios name = EWS-SRV1
server string = EWS Network
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *old password* %o\n *new password* %n\n *new password* %n\n 
*changed*
passwd chat debug = Yes
username map = /etc/samba/smbusers
password level = 8
username level = 8
unix password sync = Yes
log level = 1
log file = /var/log/samba/%m.log
max log size = 50
name resolve order = wins lmhosts bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
show add printer wizard = No
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null 
-s /bin/false %u
logon script = %U.bat
logon path = \\%L\%U\.profile
logon drive = H:
domain logons = Yes
os level = 66
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
hosts allow = 192.168.5., 127.
hide special files = Yes


I had initially used the default passwd chat line which is
;   passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully* 
with no luck!


Is there something that I have missed or 
please help.




Steve Simeonidis
 

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


[Samba] Ask for help

2004-10-21 Thread QinXuguo
Dear samba team:
 This is the first time I use samba. I want to install it on
Solaris but I don’t know which release version of samba is fit for our
workstation. So I hope I can get more and fast information from you. The
details of our workstation is following:
 Workstation Type: SUNW, Ultra-5_10; sparc; sun4u
 OS: SunOS release 5.8 Generic_108528-01
 
 Because my mail box does not support large attached file,
please send me the version number or the web address to download.
 Thanks you very mush!
 
Winfree
2004-10-22
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Ask for help

2004-10-21 Thread QinXuguo
Dear samba team:
 This is the first time I use samba. I want to install it on
Solaris but I don’t know which release of samba is fit for our
workstation. So I hope I can get more and fast information from you. The
details of our workstation is following:
 Workstation Type: SUNW, Ultra-5_10; sparc; sun4u
 OS: SunOS release 5.8 Generic_108528-01
 
 Because my mail box does not support large attached file,
please send me the version number or the web address to download.
 Thanks you very much!
 
Winfree
2004-10-22
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Archive bit not changed if not owner?

2004-10-21 Thread John Perazo

> | On the other hand, if I modify a file that is owned by someone else, the
> | archive bit doesn't get set - any ideas on why this is?
>
> set 'dos filemode = yes' in the share.

Thanks Jerry, but I've already got that set - as I said in my initial
message, this is part of my smb.conf:

---
[shared]
comment = Shared stuff
path = /data/shared
public = yes
create mask = 0774
force create mode = 0777
directory mask = 0700
force directory mode = 0775

#allow anyone to change the archive bit
dos filemode = yes
-

setting "dos filemode = yes" allows me to set the archive bits on other
people's files manually, but it doesn't get set automatically when I
modify a file owned by someone else as in Windows.

John

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


[Samba] Re: Trusting and Trusted Domain Samba LDAP (mapping Home Directories) Problem

2004-10-21 Thread Adrian Chow
Hi Igor,
Thanks for giving it a shot.  Maybe by asking questions I get to clarify 
something.

1.  What do you mean by Shares specified with Domain?
My 2 PDCs are having the default \\%N\%U at the logon home path in the 
smb.conf.
However, under LDAP, each user (in both domains) are having a 
sambaHomePath and sambaHomeDrive attribute.  And the home path is not 
necessary pointing to the PDC.  It could be a remote server which is a 
domain member of the respective PDC.  Hence I have setup such that the 
each domain have a different atttribute.  I did not change the smb.conf 
configuration on the "logon home".
Domain A user may point to \\domain_member_server_of_DomA\%U
Domain B user may point to \\PDC_of_DomB\%U

I also tested that the attributes in LDAP overwrites the smb.conf "logon 
home".

Likewise I got the same signs.  ClientXP joins Domain A.  Logins as 
Domain A user. Able to map all drive specified in LDAP for domain A and 
also load the login script specified in LDAP for Domain A.
ClientXP then logins as Domain B user.  Unable to map anything and fail 
to load the login scripts.
Vice Versa.  It depends whether the Client joins which Domain.

In the syslogs on both PDCs, (Client Joins DomA) I found out that some 
how they are querying the LDAP_DomA for the user_DomB, when I login to 
the dom B.  It is weird, it should just query PDC_Dom_B for the user and 
then allow it to map.  However on the syslog, I saw it queries PDC_DomB 
first and then queries LDAP_DomA for user_Dom B. it is weird.  As if 
the query failed for asking from PDC_Dom_B.  But on the syslog, NO 
errors and PDC_Dom_B checks its own LDAP and returns all the attributes 
for the users.

Thanks.
adrian
Igor Belyi wrote:
I can give a shoot at explaining the behavior and if I'm too off I hope 
I'll be corrected.

When you select Domain into which you want to login you specify the 
Domain where your credentials (username and password) should be verified 
but shares specified without Domain will be retrieved from the Domain 
your XP client belongs to.

I think what you want is to have 'logon home = \\%D\%U' instead of the 
one you get by default: '\\%N\%U'

Hope it helps,
Igor
Adrian Chow wrote:
Hi,
Here is my scenario:-
1.  I got 1 LDAP server with two domains (A & B) configured to it.
2.  Both domain PDCs are fully trusted to one another.  I did the 
"trustdom establish" both ways.
3.  I have 1 XP client that has joined Dom A.  The login bar can allow 
you to login to 2 domains.
4.  I can managed to login to both domains.
5.  I got all the sambaHomePath and home drive done properly on both 
servers in terms of LDAP portions.

Problem:-
When I login (from XP client) to Dom A, no problem.  The home drive 
gets mapped.
When I login to Dom B, the home drive never gets mapped.  The login 
scripts never run.  "net use x: /home" on the xp client says: "the 
user home directory cannot be determined."  But \\domB\homes on 
windows explorer worked!!

I turn all syslog to debug and check everything on BOTH PDCs.  NO 
errors!  What is going wrong?

Funny thing is that the Dom A PDC will query the Dom B for passwd auth 
check during the "net use x: /home".  Then it will query itself for 
the sambaHomeDrive details and such no errors at all... but 
logging in to Dom B cannot do it.

I have also tried unjoining Dom A and rejoining Dom B.  The results is 
vice versa.  That means Logging in to Dom B got no problems in terms 
of mapping.  But Logging in to Dom A got problems.

Can anyone shed a light for me in this?  I was about to do mass 
deployment.  My version of Samba is 3.07 for Dom B and 3.04 for Dom A. 
They are running on Debian.

Thanks.
adrian


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


[Samba] Re: Trusting and Trusted Domain Samba LDAP (mapping Home Directories) Problem

2004-10-21 Thread Igor Belyi
Igor Belyi wrote:
I can give a shoot at explaining the behavior and if I'm too off I hope 
I'll be corrected.

When you select Domain into which you want to login you specify the 
Domain where your credentials (username and password) should be verified 
but shares specified without Domain will be retrieved from the Domain 
your XP client belongs to.

I think what you want is to have 'logon home = \\%D\%U' instead of the 
one you get by default: '\\%N\%U'

Hope it helps,
Igor
I'm contradicting myself.. :( %D or %L won't make a difference for a 
client belonging to DomA. What you need is seting up NIS home directory 
server to return consistent information for users login into foreign Domain.

Igor
Adrian Chow wrote:
Hi,
Here is my scenario:-
1.  I got 1 LDAP server with two domains (A & B) configured to it.
2.  Both domain PDCs are fully trusted to one another.  I did the 
"trustdom establish" both ways.
3.  I have 1 XP client that has joined Dom A.  The login bar can allow 
you to login to 2 domains.
4.  I can managed to login to both domains.
5.  I got all the sambaHomePath and home drive done properly on both 
servers in terms of LDAP portions.

Problem:-
When I login (from XP client) to Dom A, no problem.  The home drive 
gets mapped.
When I login to Dom B, the home drive never gets mapped.  The login 
scripts never run.  "net use x: /home" on the xp client says: "the 
user home directory cannot be determined."  But \\domB\homes on 
windows explorer worked!!

I turn all syslog to debug and check everything on BOTH PDCs.  NO 
errors!  What is going wrong?

Funny thing is that the Dom A PDC will query the Dom B for passwd auth 
check during the "net use x: /home".  Then it will query itself for 
the sambaHomeDrive details and such no errors at all... but 
logging in to Dom B cannot do it.

I have also tried unjoining Dom A and rejoining Dom B.  The results is 
vice versa.  That means Logging in to Dom B got no problems in terms 
of mapping.  But Logging in to Dom A got problems.

Can anyone shed a light for me in this?  I was about to do mass 
deployment.  My version of Samba is 3.07 for Dom B and 3.04 for Dom A. 
They are running on Debian.

Thanks.
adrian

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


[Samba] Re: Trusting and Trusted Domain Samba LDAP (mapping Home Directories) Problem

2004-10-21 Thread Igor Belyi
I can give a shoot at explaining the behavior and if I'm too off I hope 
I'll be corrected.

When you select Domain into which you want to login you specify the 
Domain where your credentials (username and password) should be verified 
but shares specified without Domain will be retrieved from the Domain 
your XP client belongs to.

I think what you want is to have 'logon home = \\%D\%U' instead of the 
one you get by default: '\\%N\%U'

Hope it helps,
Igor
Adrian Chow wrote:
Hi,
Here is my scenario:-
1.  I got 1 LDAP server with two domains (A & B) configured to it.
2.  Both domain PDCs are fully trusted to one another.  I did the 
"trustdom establish" both ways.
3.  I have 1 XP client that has joined Dom A.  The login bar can allow 
you to login to 2 domains.
4.  I can managed to login to both domains.
5.  I got all the sambaHomePath and home drive done properly on both 
servers in terms of LDAP portions.

Problem:-
When I login (from XP client) to Dom A, no problem.  The home drive gets 
mapped.
When I login to Dom B, the home drive never gets mapped.  The login 
scripts never run.  "net use x: /home" on the xp client says: "the user 
home directory cannot be determined."  But \\domB\homes on windows 
explorer worked!!

I turn all syslog to debug and check everything on BOTH PDCs.  NO 
errors!  What is going wrong?

Funny thing is that the Dom A PDC will query the Dom B for passwd auth 
check during the "net use x: /home".  Then it will query itself for the 
sambaHomeDrive details and such no errors at all... but logging in 
to Dom B cannot do it.

I have also tried unjoining Dom A and rejoining Dom B.  The results is 
vice versa.  That means Logging in to Dom B got no problems in terms of 
mapping.  But Logging in to Dom A got problems.

Can anyone shed a light for me in this?  I was about to do mass 
deployment.  My version of Samba is 3.07 for Dom B and 3.04 for Dom A. 
They are running on Debian.

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


[Samba] Re: uid and gid problems with linux as client and server

2004-10-21 Thread Igor Belyi
As far as I know smbfs uses uid and gid only for those shares which do 
not have their own access attributes. If server exports access 
attributes smbfs obeys them.

You can play with 'force user' and 'force group' attribute for this 
share to force access to be by uid and gid known on server.

Igor
Frédéric RAVETIER wrote:
I mounted a samba directory on my client with something like :
mount -t smbfs -o
auto,rw,users,username=,password=,uid=fred,gid=fred
///data /mnt/server
Then mnt/server is own by fred:fred but the uid and gid are not
recursive. So I can not acces to some directory in mnt/server.
Note that the uid and gid of the server are not the same as the one on
my client.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Congratulations

2004-10-21 Thread MSN Hotmail
Dear MSN Newsletter customer,
 
You have received this mail because you have replied to an unmonitored alias.
For assistance with your newsletter subscription, please select one of the following 
options:
 
Manage (subscribe or unsubscribe)your newsletter subscriptions via our website.
http://newsletters.msn.com/
 
OR
 
Visit MSN Newsletter Technical Support to report a problem.
http://newsletters.msn.com/support.asp
 
OR
 
Visit MSN Newsletter Feedback to provide any additional feedback or ask
questions about MSN Newsletters.
http://newsletters.msn.com/feedback.asp
 
Best,
MSN Newsletter Staff
http://newsletters.msn.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba / Cups and PDF'S

2004-10-21 Thread Igor Belyi
Flewid Productions wrote:
Hi All,
I'm not sure if this is a problem specific to samba, or to cups, or to 
something else. I have a samba 3.0.7 server acting as a PDC, and print 
server for my wonderfully overcomplicated home network setup. The 
problem is when I send a PDF to the cups server to be printed, it only 
prints the first page then the cups mgmt interface will say that the job 
is completed.
Do you mean that you send it to Samba which in its turn sends it to CUPS 
server or that you use CUPS client to send it to CUPS server? If the 
first, try to do it without Samba involved. If it will fix your problem 
- it's some kind of Samba bug and you're on the right list. If not - it 
has nothing to do with Samba and you need to try your luck with CUPS folks.

Igor
If it's a very large (+4mb) PDF, it will print the first 
page, or half of the frst page and then the CUPS mgmt inteface gives an 
error saying it was aborted. Could this merely be a memory issue? I 
believe there is only 256 megs in that machine.

If i'm asking the wrong people, please let me know and I'll go somewhere 
else, I've tried searching google, but the only results I find are 
printing with CUPS-PDF, which i also have working, and it works fine (I 
can even print pdf's to it and it will create another multiple page pdf)..

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


[Samba] Re: Can't view Windows shares

2004-10-21 Thread Igor Belyi
Do you use smbfs or smbclient to view Windows files?
Igor
Joseph Earl wrote:
All,
I can view the Samba shares on any Windows system.  I can not view Windows
files on my Linux system.  Below is my config file.
Thanks in advance,
Jearl

# Global parameters
[global]
workgroup = DLSMIS
server string = Joe's Place
password server = None
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 65
preferred master = No
domain master = No
dns proxy = No
wins server = 180.0.70.41
ldap ssl = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
valid users = jearl, @jearl
write list = jearl, @jearl
read only = No
[homes]
comment = Home Directories
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[jearl]
path = /home/jearl
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Ads_connect: Server not found in Kerberos database

2004-10-21 Thread Doug VanLeuven
Corral, Randy wrote:
I am trying to configure Samba 3.0.6 on Solaris 8 and I am receiving this
errror:
Utils/net_ads.c:ads_startup(183)
Ads_connect: Server not found in Kerberos database
Here is a copy of the krb5.conf file:
[libdefaults]
   ticket_lifetime = 600
   default_realm = BROOKS.COM
   kdc_req_checksum_type = 2
   checksum_type = 2
   ccache_type = 1
   default_tkt_enctypes = des-cbc-crc
   default_tgs_enctypes = des-cbc-crc
Can you possibly use des-cbc-md5 ?  Or better yet, rc4-hmac?
rc4-hmac is the default etype in MS server.
There is a settable flag in the computer object userAccountControl for 
UF_USE_DES_KEY_ONLY (0x20) , but nothing comparable for des-cbc-crc.

It would be difficult if not impossible to do with des-cbc-crc.
Regards, Doug
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: smbldap-tools don't create machine account properlly

2004-10-21 Thread Igor Belyi
Is it possible that 'ldap admin dn' used in your smb.conf does not have 
write access to 'ou=Computers,dc=unimix,dc=com,dc=br'? What was the 
error in smbd log when machine failed to join the Domain?

Igor
Fernando Ribeiro wrote:
Hi all,
I have smb.conf with:
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
add user script = /usr/local/sbin/smbldap-useradd -m "%u"
add machine script = /usr/local/sbin/smbldap-useradd -w "%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 script = /usr/local/sbin/smbldap-userdel "%u"
delete group script = /usr/local/sbin/smbldap-groupdel "%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"
while i try include the w2k machine in samba domain it create the ldap
machine account entry:
dn: uid=suporte$,ou=Computers,dc=unimix,dc=com,dc=br
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
cn: suporte$
sn: suporte$
uid: suporte$
uidNumber: 1020
gidNumber: 1000
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer
gecos: Computer

And don't join in samba domain.
While i create a machine account manually with:
dn: uid=suporte$,ou=Computadores,dc=unimix,dc=com,dc=br
gidNumber: 3
uidNumber: 1022
uid: suporte$
sambaSID: S-1-5-21-715268823-1473299472-2771147885-3044
sambaAcctFlags: [W  ]
cn: suporte
homeDirectory: /dev/null
objectClass: top
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: account
It join in the samba domain without problem.
	Anyone know why it don't create sambaSamAccount ? 
	Machine account need inetOrgPerson ?
	
	Thanks
	   

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


[Samba] 3.0.7 name collision!

2004-10-21 Thread William Jojo


Still gathering data on this one, but it's easy to reproduce the case
insensitive collision.


AIX 5.2 Samba 3.0.7.

in unix create two dirs on a user's [homes] share:

CISS-102
ciss-102

put files from windows (I used XP sp1) into just one of them, then go and
view the other. they have the same contents. on fresh smbd, if you start
with the empty dir then both appear empty.

When the student copied a file from one dir to the other in windows you
get "file" plus "Copy of file" in both. Not good.

I'll have more details posted when I'm done with class tonight as I am
creating this in development so I can get a log level 10 for just one
station.


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


[Samba] Ads_connect: Server not found in Kerberos database

2004-10-21 Thread Corral, Randy
I am trying to configure Samba 3.0.6 on Solaris 8 and I am receiving this
errror:

Utils/net_ads.c:ads_startup(183)
Ads_connect: Server not found in Kerberos database


Here is a copy of the krb5.conf file:

[libdefaults]
ticket_lifetime = 600
default_realm = BROOKS.COM
kdc_req_checksum_type = 2
checksum_type = 2
ccache_type = 1
default_tkt_enctypes = des-cbc-crc
default_tgs_enctypes = des-cbc-crc

[kdc]
profile = /usr/local/var/krb5kdc/kdc.conf

[logging]
kdc = FILE:/usr/local/var/krb5kdc/kdc.log
 
admin_server = FILE:/usr/local/var/krb5kdc/adm.log
 
default = FILE:/usr/local/var/krb5kdc/log.log
 

[realms]
BROOKS.COM = {
kdc = qmserver.brooks.com:88
admin_server = qmserver.brooks.com:749
default_domain = brooks.com
 }

[domain_realm]

[capaths]

[login]
krb4_convert = 0



Any suggestions?  

Thanks,

Randy

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


[Samba] smbldap-tools don't create machine account properlly

2004-10-21 Thread Fernando Ribeiro
Hi all,

I have smb.conf with:


add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
add user script = /usr/local/sbin/smbldap-useradd -m "%u"
add machine script = /usr/local/sbin/smbldap-useradd -w "%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 script = /usr/local/sbin/smbldap-userdel "%u"
delete group script = /usr/local/sbin/smbldap-groupdel "%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"

while i try include the w2k machine in samba domain it create the ldap
machine account entry:

dn: uid=suporte$,ou=Computers,dc=unimix,dc=com,dc=br
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
cn: suporte$
sn: suporte$
uid: suporte$
uidNumber: 1020
gidNumber: 1000
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer
gecos: Computer

And don't join in samba domain.

While i create a machine account manually with:

dn: uid=suporte$,ou=Computadores,dc=unimix,dc=com,dc=br
gidNumber: 3
uidNumber: 1022
uid: suporte$
sambaSID: S-1-5-21-715268823-1473299472-2771147885-3044
sambaAcctFlags: [W  ]
cn: suporte
homeDirectory: /dev/null
objectClass: top
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: account

It join in the samba domain without problem.

Anyone know why it don't create sambaSamAccount ? 
Machine account need inetOrgPerson ?

Thanks
   

-- 
Fernando Ribeiro - GPG-KEY: 0x8D7255F4
Linux Counter: #273768 - ICQ: 175630330
LPIC-2 - Advanced Linux
Death the graph! Death the mouse
Death patents! Death closed standards!
http://www.nerdgroup.org
http://musb.nerdgroup.org
--
"Grandes mentes discutem idéias;
Mentes medianas discutem eventos;
Mentes pequenas discutem pessoas."
--
"A mente que se abre a uma nova idéia
jamais volta ao seu tamanho original."
Albert Einstein
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Bug 1499 Update?

2004-10-21 Thread Aden, Steve
Just wondering if this bug will be addressed. It doesn't appear to have
been updated since it was entered into Bugzilla.

It would sure be nice to be able to assign Share level Acl's by
individuals instead of just groups as it functions currently.

Keep up the excellent work!

Thank you,
Steve Aden
IS Manager
ITS Communications 

Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message and kindly notify the sender by reply email. Opinions, 
conclusions and other information contained in this message that do not relate to 
official business shall be understood as neither given nor endorsed by ITS
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: smbfs mount issues

2004-10-21 Thread Jason Pirok
yeah, for some reason the connection would terminate.  I guess I
should have replied earlier, but I found a slightly simpler way around
this problem.

It seems that microsoft is offering is 'Services for Unix' free for
download from their website.  I installed that a couple days ago and
everythings fine mounting the new NFS share on my box.

This solution still requires a bit of configuration on the part of the
windows server, but on the linux side of things, it's a lot smoother
to integrate.  I'm not the best at describing features of products,
and I've not used it for long, but this product provides NFS NIS and
password syncronization with unix machines.

In closing I guess this would be a viable workaround for those
experiencing difficulties with winXP and the newer versions of smbfs
and cifs.  Thanks for all the help.

Jason


On Mon, 18 Oct 2004 21:56:13 -0400, Igor Belyi
<[EMAIL PROTECTED]> wrote:
> Have you tried to browse this share with smbclient?
> 
> Igor
> 
> Jason Pirok wrote:
> > This problem began a couple months ago with my new install of (you
> > guessed it) XP sp2.  Now, when i mount a share from the xp machine to
> > my debian box, everyone, including rot, gets a permission denied
> > trying to ls the dir.
> >
> > I've read posts about switching to cifs, but that has opened a whole
> > new can of worms.  I'd just like to see smbfs mount my shares properly
> > the way they used to.
> >
> > My version of samba is 3.0.7-1 according to dpkg on debian unstable.
> > the mount command is
> >
> > mount -t smbfs -o
> > credentials=cred.file,netbiosname=intruder,workgroup=workgroup,ip=111.111.111.111
> > //host/share /path/to/mount/dir
> >
> > I've done lots of look ups on google regarding many combinations of xp
> > smbfs and the problems encountered to no avail.  I'm at wits end and
> > don't know what else to do.
> >
> > Sincerely,
> >
> > Jason
> 
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] mount 2k3 Dfs root on Linux via smbmount

2004-10-21 Thread Brian Krusic
Hi,
Has any one used smbmount with some tweaks to the smb.conf to mount a 2k3 
Dfs root?

I'm looking at my Official Samba book but was woundering if anyone can cut 
down my trial and error time?

Bri- 

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


[Samba] Can't view Windows shares

2004-10-21 Thread Joseph Earl
All,

I can view the Samba shares on any Windows system.  I can not view Windows
files on my Linux system.  Below is my config file.

Thanks in advance,
Jearl



# Global parameters
[global]
workgroup = DLSMIS
server string = Joe's Place
password server = None
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 65
preferred master = No
domain master = No
dns proxy = No
wins server = 180.0.70.41
ldap ssl = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
valid users = jearl, @jearl
write list = jearl, @jearl
read only = No

[homes]
comment = Home Directories
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[jearl]
path = /home/jearl

-- 
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.7 freezes on windows

2004-10-21 Thread Tarjei Huse
tor, 21,.10.2004 kl. 17.26 +0100, skrev Mark C. Casey:
> I use the vanilla 2.4.27 kernel, this is on a Gentoo Linux box (2004.2).
> The share in question is on a 1.36TB RAID-5 (6x 300GB) Reiser 3.6 partition.
> The attributes for the directory 'backup' are 777.
> The rest of the filesystem is ext2 (boot parition) and ext3 (/ partition).

Hmm, then I can't help you I think. Try setting use sendfile = no in
smb.conf. AFAIK this is a bug that only affects the 2.4.20 kernels so it
shouldn't hit you ;-(
T

> 
> Mark
> 
> 
> -Original Message-
> From: Tarjei Huse [mailto:[EMAIL PROTECTED]
> Sent: 21 October 2004 17:18
> To: Mark C. Casey
> Subject: RE: [Samba] Samba 3.0.7 freezes on windows
> 
> 
> Hi, what kernelversion do you run?
> Tarjei
> tor, 21,.10.2004 kl. 14.12 +0100, skrev Mark C. Casey:
> > You may need to post your smb.conf, I have a same kind of share as yours and it 
> > works fine.
> > 
> > For example:
> > 
> > [backup]
> > browseable = yes
> > comment = Backup share
> > writable = yes
> > public = yes
> > path = /home/backup
> > available = yes
> > 
> > The only difference being I have it set to available and a comment. Mine is 
> > perfectly accessible from a Windows XP Pro machine without any problems. (read & 
> > write)
> > 
> > Mark
> > 
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf
> > Of Shafeek Sumser
> > Sent: 21 October 2004 13:58
> > To: [EMAIL PROTECTED]
> > Subject: [Samba] Samba 3.0.7 freezes on windows
> > 
> > 
> > Hi
> > 
> > I have installed samba 3.0.7-1 on debian sarge.  I
> > have configure it as standalone.  I put a share as
> > follows: 
> > [share]
> > writeable = yes
> > browseable = yes
> > public = yes
> > path = /home/samba
> > 
> > The permission on /home/samba is as follows: 
> > chmod 777 /home/samba
> > 
> > Now on my windows XP, the share is listed when i
> > browse.  I am also able to copy a file to the share. 
> > But i cannot open the file and it just freeze my
> > windows.  
> > 
> > Some helps will be much appreciated.
> > 
> > Thanks
> > 
> > 
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Take Yahoo! Mail with you! Get it on your mobile phone.
> > http://mobile.yahoo.com/maildemo 
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
Tarjei Huse <[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] Browsing between linux boxes - clarification

2004-10-21 Thread Anne Wilson
On Thursday 21 Oct 2004 15:47, Holger Krull wrote:
> >>By the way what is the output of
> >>lsof /Public
> >>that means is there really someone working on it?
> >
> > lsof /Public
> > lsof: WARNING: can't stat() smbfs file system
> > /home/anne/smb4k/DAVID/Public Output information may be incomplete.
> > COMMAND   PID USER   FD   TYPE DEVICE SIZE  NODE NAME
> > smbd31553 root  cwdDIR  33,12 4096 48961 /Public
>
> That looks odd, is this lsof on the client side or server side?
This lsof on the server.

> How do you mount on the client?
In this case, using smb4k, but using LinNeighborhood gives the same symptoms, 
though I haven't tried the lsof command with a directory locked up.

> Are you resharing a smb mounted directory?
No.  /Public is a directory on this box, the server, purely for file sharing 
and available to all.  At the moment only one box is mounted, the one that 
can't umount.

Anne
-- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-- 
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.7 freezes on windows

2004-10-21 Thread Mark C. Casey
I use the vanilla 2.4.27 kernel, this is on a Gentoo Linux box (2004.2).
The share in question is on a 1.36TB RAID-5 (6x 300GB) Reiser 3.6 partition.
The attributes for the directory 'backup' are 777.
The rest of the filesystem is ext2 (boot parition) and ext3 (/ partition).

Mark


-Original Message-
From: Tarjei Huse [mailto:[EMAIL PROTECTED]
Sent: 21 October 2004 17:18
To: Mark C. Casey
Subject: RE: [Samba] Samba 3.0.7 freezes on windows


Hi, what kernelversion do you run?
Tarjei
tor, 21,.10.2004 kl. 14.12 +0100, skrev Mark C. Casey:
> You may need to post your smb.conf, I have a same kind of share as yours and it 
> works fine.
> 
> For example:
> 
> [backup]
> browseable = yes
> comment = Backup share
> writable = yes
> public = yes
> path = /home/backup
> available = yes
> 
> The only difference being I have it set to available and a comment. Mine is 
> perfectly accessible from a Windows XP Pro machine without any problems. (read & 
> write)
> 
> Mark
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf
> Of Shafeek Sumser
> Sent: 21 October 2004 13:58
> To: [EMAIL PROTECTED]
> Subject: [Samba] Samba 3.0.7 freezes on windows
> 
> 
> Hi
> 
> I have installed samba 3.0.7-1 on debian sarge.  I
> have configure it as standalone.  I put a share as
> follows: 
> [share]
> writeable = yes
> browseable = yes
> public = yes
> path = /home/samba
> 
> The permission on /home/samba is as follows: 
> chmod 777 /home/samba
> 
> Now on my windows XP, the share is listed when i
> browse.  I am also able to copy a file to the share. 
> But i cannot open the file and it just freeze my
> windows.  
> 
> Some helps will be much appreciated.
> 
> Thanks
> 
> 
> 
> 
>   
> __
> Do you Yahoo!?
> Take Yahoo! Mail with you! Get it on your mobile phone.
> http://mobile.yahoo.com/maildemo 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
Tarjei Huse <[EMAIL PROTECTED]>

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


[Samba] Samba / Cups and PDF'S

2004-10-21 Thread Flewid Productions
Hi All,
I'm not sure if this is a problem specific to samba, or to cups, or to 
something else. I have a samba 3.0.7 server acting as a PDC, and print 
server for my wonderfully overcomplicated home network setup. The 
problem is when I send a PDF to the cups server to be printed, it only 
prints the first page then the cups mgmt interface will say that the job 
is completed. If it's a very large (+4mb) PDF, it will print the first 
page, or half of the frst page and then the CUPS mgmt inteface gives an 
error saying it was aborted. Could this merely be a memory issue? I 
believe there is only 256 megs in that machine.

If i'm asking the wrong people, please let me know and I'll go somewhere 
else, I've tried searching google, but the only results I find are 
printing with CUPS-PDF, which i also have working, and it works fine (I 
can even print pdf's to it and it will create another multiple page pdf)..

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


Re: [Samba] extract SID from v2 domain

2004-10-21 Thread Gavin Henry
Per olof Ljungmark said:
> Hi all,
>
> How can I, in preparation for an upgrade to Samba3, extract the domain
> SID from a network of w2k workstations and Samba2.2 servers? Sorry if
> this is crystal clear but I just can't figure it out.
>

I think if you use the newsid utility from http://www.sysinternals.com you
will be able to extract the sid from the windows workstations.

And use smbpasswd -W  to extract the SID. This is on Samba
version 2.2.8

HTH.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1467 624141
M +44 (0) 7930 323266
F +44 (0) 1224 742001
E [EMAIL PROTECTED]

Open Source. Open Solutions(tm).

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


Re: [Samba] Throughput to a single client

2004-10-21 Thread Denis Vlasenko
On Thursday 21 October 2004 15:37, [EMAIL PROTECTED] wrote:
> I have a Linux Server (3.06 Xeon) with a very fast RAID array -- reads at 
> around 500 MB/sec as clocked by Bonnie++. I have 6 GigE nics on my machine  -- on 
> two 133Mhz PCI-x bus segments (not on the same bus as the RAID drives)
> 
> I have noticed two puzzling things and I'm wondering if anybody has any ideas 
> about why I'm seeing these: 
> 
> 1)  transfer speeds over a single NIC from a single Windows XP workstation to 
> the Server (host to host, no switch in between) starts out at around 43 
> MB/sec but then drops off to around 30 MB/sec. I don't think it's a disk speed 
> issue on the Windows side, because data is coming from an 8 disk RAID-5 on the 
> Windows side. 
> 
> 2)  transfer speed from the Server to 3 windows workstations seems to max out 
> at around 60 MB/sec total. One windows workstation can get around 40-45 
> MB/sec, but if I try to achieve maximum transfer speed with to 3 Windows machines 
> each only gets about 20 MB/sec. Again, I don't think it's a disk speed thing on 
> the Linux side -- and on the Windows side the data is not being stored on 
> disk but rather it's being played out as video. 
> 
> So, the question is, does Samba have any configuration options that might 
> limit the total throughput to the Network? And if it's not Samba that's causing 
> the bottleneck, does anyone have any other ideas. 

You may do the following: first, find out what gets maxed out (CPU/disk/network)
with top, vmstat and friends. See attached program.

IIRC at least once it was reported that samba can send data to several M$ clients
much faster that to single one. This is not optimal, single-stream TCP
performance on a properly functioning network must be close to multiple-stream.

Either there is a bug somewhere or samba and client both need to add
some tweaks to TCP session (larger buffers, large windows, etc) to take full
advantage of, say, GigE.

If neither disk nor CPU is stressed to 100%, then it is possible that you see
exactly this thing.

Check how much MB/s you can pull from Linux with various programs (ftp, http,
SMB, netcat) and post results. You may want to test Linux->Linux TCP stream
speeds on the same hw in order to be able to compare it to Windows.
--
vda
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] krb5_cc_get_principal failed

2004-10-21 Thread Robert St.Denis
and oh ya ... net ads user -S dc -U user works ...

On Thu, 2004-10-21 at 09:19, Robert St.Denis wrote:
> So, I really don't know whats going on ... I checked all the tdb's and
> they are all there ... the /tmp/krb_... is there ... only thing i can
> think of is having to do the net join
> 
> any help would be appreciated
> 
> On Thu, 2004-10-21 at 08:12, Robert St.Denis wrote:
> > Ok to continue my own thread here ... I have just tried  the newest
> > avail rpm, and its the same issue
> > 
> > here's effectively how I set things up:
> > 
> > kinit username <-does it have to be an admin ?
> > klist -e <- shows a ticket fine
> > useradd -d /dev/null -s /sbin/nologin machinename$
> > passwd -l machinename$ <-doesnt ask for a passwd it just locks it
> > smbpasswd -a -m machinename
> > 
> > now do I need to do a net join -U if my machine is already listed ?
> > 
> > I am still getting a lot of these:
> > [2004/10/21 08:09:07, 1] libsmb/clikrb5.c:ads_krb5_mk_req(323)
> >   krb5_cc_get_principal failed (No credentials cache found)
> > [2004/10/21 08:09:07, 1]
> > nsswitch/winbindd_ads.c:ads_cached_connection(81)
> >   ads_connect for domain DOMAIN failed: Cannot read password
> > 
> > a wbinfo -u/g does the typical error "Error looking up domain
> > users/groups" ... -t gives me "checking the trust secret via RPC calls
> > failed error code was NT_STATUS_INTERNAL_ERROR (0xc0e5) Could not
> > check secret
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] extract SID from v2 domain

2004-10-21 Thread Per olof Ljungmark
Hi all,
How can I, in preparation for an upgrade to Samba3, extract the domain 
SID from a network of w2k workstations and Samba2.2 servers? Sorry if 
this is crystal clear but I just can't figure it out.

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


Re: [Samba] krb5_cc_get_principal failed

2004-10-21 Thread Robert St.Denis
So, I really don't know whats going on ... I checked all the tdb's and
they are all there ... the /tmp/krb_... is there ... only thing i can
think of is having to do the net join

any help would be appreciated

On Thu, 2004-10-21 at 08:12, Robert St.Denis wrote:
> Ok to continue my own thread here ... I have just tried  the newest
> avail rpm, and its the same issue
> 
> here's effectively how I set things up:
> 
> kinit username <-does it have to be an admin ?
> klist -e <- shows a ticket fine
> useradd -d /dev/null -s /sbin/nologin machinename$
> passwd -l machinename$ <-doesnt ask for a passwd it just locks it
> smbpasswd -a -m machinename
> 
> now do I need to do a net join -U if my machine is already listed ?
> 
> I am still getting a lot of these:
> [2004/10/21 08:09:07, 1] libsmb/clikrb5.c:ads_krb5_mk_req(323)
>   krb5_cc_get_principal failed (No credentials cache found)
> [2004/10/21 08:09:07, 1]
> nsswitch/winbindd_ads.c:ads_cached_connection(81)
>   ads_connect for domain DOMAIN failed: Cannot read password
> 
> a wbinfo -u/g does the typical error "Error looking up domain
> users/groups" ... -t gives me "checking the trust secret via RPC calls
> failed error code was NT_STATUS_INTERNAL_ERROR (0xc0e5) Could not
> check secret
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Archive bit not changed if not owner?

2004-10-21 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John Perazo wrote:
| We have a public share which is backed up from another machine, and use
| the archive bits to detect if files have been modified.
|
| If I create a file in the public share, the archive bit is set.
|
| If I clear the archive bit, and then modify the file the archive bit
is set.
|
| On the other hand, if I modify a file that is owned by someone else, the
| archive bit doesn't get set - any ideas on why this is?
set 'dos filemode = yes' in the share.


cheers, jerry
- -
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBd7aDIR7qMdg1EfYRAjzMAJ9OnWzIO6hKWXGzdTnxsKHbK5dAVACgwkAz
RWd2dJUO6nrc15CkQswtD3Y=
=clPo
-END 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 3.0.7 freezes on windows

2004-10-21 Thread Mark C. Casey
You may need to post your smb.conf, I have a same kind of share as yours and it works 
fine.

For example:

[backup]
browseable = yes
comment = Backup share
writable = yes
public = yes
path = /home/backup
available = yes

The only difference being I have it set to available and a comment. Mine is perfectly 
accessible from a Windows XP Pro machine without any problems. (read & write)

Mark


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of Shafeek Sumser
Sent: 21 October 2004 13:58
To: [EMAIL PROTECTED]
Subject: [Samba] Samba 3.0.7 freezes on windows


Hi

I have installed samba 3.0.7-1 on debian sarge.  I
have configure it as standalone.  I put a share as
follows: 
[share]
writeable = yes
browseable = yes
public = yes
path = /home/samba

The permission on /home/samba is as follows: 
chmod 777 /home/samba

Now on my windows XP, the share is listed when i
browse.  I am also able to copy a file to the share. 
But i cannot open the file and it just freeze my
windows.  

Some helps will be much appreciated.

Thanks





__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 
-- 
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] Experience on using Samba with XP SP2

2004-10-21 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Walter Willmertinger wrote:
| I did the local test (same windows driver version) and it
| takes not a  whole second to load the printer dialogue!
| As opposed to the samba printer (as default printer) 17
| seconds!
Walter,
That's an invalid test.  For a real comparison, you need to
install the driver on a remote Windows 2000 print server
and disable the "Advanced Printing Features".  Then connect
to the printer from your XP client and run the tests.


cheers, jerry
- -
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBd7WSIR7qMdg1EfYRAskuAJ44MqshLAY89nTeXMBP6cEVLjsNiwCeL+xn
7lJxDaa8PFJ9ZaEdzhEPbiU=
=BPH9
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re[2]: [Samba] Directory Name '.../pipe' not allowed ? Samba Bug ?

2004-10-21 Thread Peter Piechutzki
Hello,

We've done a workaround renaming the folders (which was a pain scince
loads of database files have the path references in table fields).

@Jeremy:
how about changing the respone to "NT_STATUS_OBJECT_NAME_NOT_FOUND"
instead of "NT_STATUS_ACCESS_DENIED" and see what efekt it would have ;-)

Greetings

Peter

JA> On Fri, Oct 15, 2004 at 01:21:28PM +0200, Peter Piechutzki wrote:
>> Hello,
>>
>> thx for the quick response.
>>
>> You are certainly right about the oplocks and we had both levels
>> turned off for testing with the same results.
>>
>> After extensive testing and analyzing the sourcecode of openfile() we
>> are sure that even updating to the newest version of samba wouldn't
>> solve our problem.
>>
>> It is fairly easy to reproduce.
>> put a foxpro .dbf file on a share from samba into a directory named
>> '/abc/pipe' Try to import the file into a MS-Access Database and you
>> will recieve a error 'The microsoft jet ... can't open ... .inf'
>>
>> This will also happen if the full directory path is shorter then 9
>> characters and ends with 'pipe' for example 'dat_pipe' 'abcdpipe'
>> 'de/pipe' and so on.
>>
>> As i mentioned in my first post samba returns different errer codes to
>> the smb client machine depending on the directory name.

JA> Yeah, I added that code. I'm now trying to remember what client named
JA> pipe open I was trying to prevent here :-(.

JA> I'm wondering what effect just removing this code would have.

JA> Jeremy.


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


Re: [Samba] Experience on using Samba with XP SP2

2004-10-21 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Walter Willmertinger wrote:
| But why we have this big (annoying) difference with and without SP2?
Dunno.  But I wouldn't discount SP2.  There's lots of ISV's
that are having to update theior software to work withg SP2.



cheers, jerry
- -
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBd7TKIR7qMdg1EfYRAu+fAJ4orv0Nl1FHA9CBGXYG83lVFhzjEwCfatkl
dP+BqbqNcYzN200SqREFZf0=
=oh54
-END PGP SIGNATURE-
--
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.7 freezes on windows

2004-10-21 Thread Shafeek Sumser
Hi

I have installed samba 3.0.7-1 on debian sarge.  I
have configure it as standalone.  I put a share as
follows: 
[share]
writeable = yes
browseable = yes
public = yes
path = /home/samba

The permission on /home/samba is as follows: 
chmod 777 /home/samba

Now on my windows XP, the share is listed when i
browse.  I am also able to copy a file to the share. 
But i cannot open the file and it just freeze my
windows.  

Some helps will be much appreciated.

Thanks





__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] solaris 5 and samba

2004-10-21 Thread Thomas Constans
hello

i have to setup a bunch of sun solaris 2.5.1 to authenticate to a win
2000 Active Directory server.

my understanding is that i have to have all the stations to be member
server, each with samba / winbind running

i guess that i need to use samba 3, is it installable on these old
solaris ?

thanx for answering.

-- 
-- Thomas Constans --

http://www.opendoor.fr
[EMAIL PROTECTED]
04 78 68 17 34

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


[Samba] Throughput to a single client

2004-10-21 Thread AndyLiebman
I have a Linux Server (3.06 Xeon) with a very fast RAID array -- reads at 
around 500 MB/sec as clocked by Bonnie++. I have 6 GigE nics on my machine  -- on 
two 133Mhz PCI-x bus segments (not on the same bus as the RAID drives)

I have noticed two puzzling things and I'm wondering if anybody has any ideas 
about why I'm seeing these: 

1)  transfer speeds over a single NIC from a single Windows XP workstation to 
the Server (host to host, no switch in between) starts out at around 43 
MB/sec but then drops off to around 30 MB/sec. I don't think it's a disk speed 
issue on the Windows side, because data is coming from an 8 disk RAID-5 on the 
Windows side. 

2)  transfer speed from the Server to 3 windows workstations seems to max out 
at around 60 MB/sec total. One windows workstation can get around 40-45 
MB/sec, but if I try to achieve maximum transfer speed with to 3 Windows machines 
each only gets about 20 MB/sec. Again, I don't think it's a disk speed thing on 
the Linux side -- and on the Windows side the data is not being stored on 
disk but rather it's being played out as video. 

So, the question is, does Samba have any configuration options that might 
limit the total throughput to the Network? And if it's not Samba that's causing 
the bottleneck, does anyone have any other ideas. 

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


Re: [Samba] krb5_cc_get_principal failed

2004-10-21 Thread Robert St.Denis
Ok to continue my own thread here ... I have just tried  the newest
avail rpm, and its the same issue

here's effectively how I set things up:

kinit username <-does it have to be an admin ?
klist -e <- shows a ticket fine
useradd -d /dev/null -s /sbin/nologin machinename$
passwd -l machinename$ <-doesnt ask for a passwd it just locks it
smbpasswd -a -m machinename

now do I need to do a net join -U if my machine is already listed ?

I am still getting a lot of these:
[2004/10/21 08:09:07, 1] libsmb/clikrb5.c:ads_krb5_mk_req(323)
  krb5_cc_get_principal failed (No credentials cache found)
[2004/10/21 08:09:07, 1]
nsswitch/winbindd_ads.c:ads_cached_connection(81)
  ads_connect for domain DOMAIN failed: Cannot read password

a wbinfo -u/g does the typical error "Error looking up domain
users/groups" ... -t gives me "checking the trust secret via RPC calls
failed error code was NT_STATUS_INTERNAL_ERROR (0xc0e5) Could not
check secret
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] uid and gid problems with linux as client and server

2004-10-21 Thread Frédéric RAVETIER
Hello,

I mounted a samba directory on my client with something like :
mount -t smbfs -o
auto,rw,users,username=,password=,uid=fred,gid=fred
///data /mnt/server

Then mnt/server is own by fred:fred but the uid and gid are not
recursive. So I can not acces to some directory in mnt/server.
Note that the uid and gid of the server are not the same as the one on
my client.

Thanks,
Fred.

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


[Samba] Trusting and Trusted Domain Samba LDAP (mapping Home Directories) Problem

2004-10-21 Thread Adrian Chow
Hi,
Here is my scenario:-
1.  I got 1 LDAP server with two domains (A & B) configured to it.
2.  Both domain PDCs are fully trusted to one another.  I did the 
"trustdom establish" both ways.
3.  I have 1 XP client that has joined Dom A.  The login bar can allow 
you to login to 2 domains.
4.  I can managed to login to both domains.
5.  I got all the sambaHomePath and home drive done properly on both 
servers in terms of LDAP portions.

Problem:-
When I login (from XP client) to Dom A, no problem.  The home drive gets 
mapped.
When I login to Dom B, the home drive never gets mapped.  The login 
scripts never run.  "net use x: /home" on the xp client says: "the user 
home directory cannot be determined."  But \\domB\homes on windows 
explorer worked!!

I turn all syslog to debug and check everything on BOTH PDCs.  NO 
errors!  What is going wrong?

Funny thing is that the Dom A PDC will query the Dom B for passwd auth 
check during the "net use x: /home".  Then it will query itself for the 
sambaHomeDrive details and such no errors at all... but logging in 
to Dom B cannot do it.

I have also tried unjoining Dom A and rejoining Dom B.  The results is 
vice versa.  That means Logging in to Dom B got no problems in terms of 
mapping.  But Logging in to Dom A got problems.

Can anyone shed a light for me in this?  I was about to do mass 
deployment.  My version of Samba is 3.07 for Dom B and 3.04 for Dom A. 
They are running on Debian.

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


[Samba] update: samba causing high load

2004-10-21 Thread Vegard Hanssen
We have experienced some trouble with samba lately. The servers load going 
from 5 to 20 causing everything to go very slow, but when I use top to 
check which process could be the cause of the trouble nothing uses CPU 
cycles. We have about 90% idle CPU usage, but load from 5-20.

When I kill samba (service smb stop) the root-smb process still hangs and 
when I kill it (kill -9) the load goes back to normal (0.20). Then starting 
samba again and all is fine - for a couple of days.

Any suggestion to what I can check for? I have tried checking the open 
files, network traffic (pr IP too) but nothing unnormal shows up.

We're running samba-3.0.7-2.FC1
updated info:
We've tried to add "use sendfile = no" to the smb.conf file without any 
luck. After about 2 days it seems to halt det server again. I have noticed 
that the use of swap increases during the 2 days and the problem seems to 
occur when used swap is about 250 (256?)MB. I tried doing a strace on the 
process that was left after a shutdown of smb. I got a lot of this:

fcntl64(5, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=7252, len=1}, 
0xbff
053b0) = 0
fcntl64(5, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=7256, len=1}, 
0xbff
053b0) = 0
fcntl64(5, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=7256, len=1}, 
0xbff
053b0) = 0
fcntl64(5, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=7260, len=1}, 
0xbff
053b0) = 0
fcntl64(5, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=7260, len=1}, 
0xbff
053b0) = 0
fcntl64(5, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=7264, len=1}, 
0xbff
053b0) = 0
fcntl64(5, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=7264, len=1}, 
0xbff
053b0) = 0
fcntl64(5, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=7268, len=1}, 
0xbff
053b0) = 0
fcntl64(5, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=7268, len=1}, 
0xbff
053b0) = 0
fcntl64(5, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=7272, len=1}, 
0xbff
053b0) = 0
fcntl64(5, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=7272, len=1}, 
0xbff

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


[Samba] SEO Exchange - Your Site Has Benefitted

2004-10-21 Thread Lounge Lizard
Hi webmaster,

We would like to partner with you to beneficially increase both our
rankings within Google, Yahoo and MSN.

I am sure you are well aware how participating in a link exchange can
benefit your search engine rankings.

My site focuses on online casinos. If you would like to do a
traditional link exchange please visit my site at 
http://www.casino-lounge.com/submitlink.asp 

If you would like to do a high PR link exchange with our internal pages
please email me and we can arrange this.

Thank you very much for reading this and we hope to hear from you.   

Good Luck!!!  

Thanks in advance 
LoungeLizard - http://www.casino-lounge.com  

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


Re: [Samba] Experience on using Samba with XP SP2

2004-10-21 Thread Walter Willmertinger
I did the local test (same windows driver version) and it takes not a 
whole second to load the printer dialogue! As opposed to the samba 
printer (as default printer) 17 seconds!

rruegner schrieb:
Hi Walter,
relate to your answers i would say your win drivers arent very 
compatibel to win xp sp2,
have you tried to get the printer directly connected to a win xp serv 
pack2 machine using with the same drivers?
if the buggy behavior stay with lokal conected drivers and printer
you know that you have to wait for better drivers or trying
another setup maybe using ghostscript drivers wih cups and/or raw 
printing.
Best Regards

Walter Willmertinger schrieb:

rruegner schrieb:
Hi Walter,
i have the same setup samba 3.07 , cups win xp serv pack 2 german.
I have noticed that something changed in behavior after the upgrade 
to win xp serv pack 2 , but non of your described failures are comming
up in my setups for hp laser printers , and canon bjc 2000 as well 
as my pdf printer.
I only noticed after upgrade to serv pack 2 that ich have to refresh
the pinter icon in the taskbar now after printing is done to disapear.
also my standart paper size is now switching to letter and not 
staying to default dina 4.
But i have not upgraded my cups or/and win drivers ( which is 
allways recomended ), i wanted to cotroll this stuff these days but 
as this bugs are not really heavy for me , i will wait until there 
is time.
I dont think this is really a problem with samba.
Are you using cups?

YES, I think it is cups 1.1.20
How is your smb.conf

very simple: Here the relevant parts:
# Global parameters
[global]
workgroup = CSINTERN
server string = col Samba Server on RedHat
log file = /usr/local/samba/var/log.%m
max log size = 10
deadtime = 60
preferred master = No
domain master = No
ldap ssl = no
printer admin = root, walterw, fritzw, gerhardj
hosts allow = 192.168.1.
[homes]
comment = Home Directories
read only = No
create mask = 0750
[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root, walterw
create mask = 0700
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
[print$]
comment = Share fuer Printer Treiber
path = /usr/local/samba/lib/printers
write list = root, walterw, fritzw, gerhardj
[kyocera-ps]
comment = Kopierdrucker mit Duplexfunktion
path = /var/spool/samba
printer admin = root, walterw
read only = No
create mask = 0700
guest ok = Yes
printable = Yes
printer name = KYOCERA
use client driver = Yes
oplocks = No
share modes = No
**

, have you checked cups logs,

nothing special!
do you have the latest printers?

Yes, actual drivers
What are this Printers ( Manufacter )

Kyocera, HP ...
Have disabled the xp firewall

Tried with and without firewall
as well as the webclient services on xp,

tried with enabled and disabled
what are the event logs talking at the win xp?

only on XP startup I get an error message:
you can see in the appended temp.jpg
If you don't see it:
It is a message in sytem part.
Source is MRxSmb
Type is warning
Event number is 3019
Text is: ( if I try to translate): Redirector Service cannot 
recognize the type of connection

Is file sharing running corect with your samba machine?

Yes, no problem, even with MS Access
Is it a stand alone spooler , 

???
do you do accounting, 

nothing setup
are you printing
via a printserver device

yes, network print server, done over CUPS
or direct over lpd/usb

no!
Do you use postscript/ghostscript filters, or direct win drivers?

direct win drivers
All this stuff must be tested and controlled to give you the right 
answer/help...there is no naturally reason why printing with samba
should fail with win xp as far i know

It does not fail, the startup of the print dialogue is just very slow 
!! When removing SP2, the problem has gone!

Best Regards
Walter Willmertinger schrieb:
We have problems with printing after installing XP SP2.
In nearly every software it takes about 10 seconds to 30 seconds, 
if you click on "Print-Button" and wait for the print dialogue window.
Extremly slow are programs like MS Word (30 seconds, when you open 
a document the first time).

Another problem, (but I am sure it's not a samba related problem): 
In some word documents you have problems viewing embedded graphics. 
Sometimes you see the graphics, sometimes not. It is not a problem 
with wrong settings (View - Use placeholders for Graphics). In 
preview there is no graphics, maybe after some scrolling the 
graphics appear, on the printout graphics are contained.

Samba installed is 3.0.7 (compiled on RH 9.0 with standard options)!
Regards, Walter
rruegner schrieb:
CHAN YICK WAI schrieb:
Just would like to ask if anyone has experience with Samba with 
XP SP2, can
you share with us?

Thanks,
Yw
Hi, for sure we share : it works
read the samba faqs for more info, an

Re: [Samba] Samba just Slow with AutoCad?

2004-10-21 Thread Holger Krull
When you didn't , try unplug the network cable from the switch. After 
them this "delaying" problem will not occur. It sounds like a  madness, 
butit works. Of course you can't print, but the dialog box opens 
immediately.  Where is then the problem?
You always have the posibility to setup your printer like a it would 
print to lpt1 and later change the print port to your samba server queue.
You will loose the posibility to see who is in the queue before you, but 
the delays are gone. Choose your poison.

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


[Samba] Samba just Slow with AutoCad?

2004-10-21 Thread Julius Kusy
Dear Brian,
i am very interesting,  whether you've already solved your problem with  
the delaing when opening a print (plot) dialog box in autocad,  because 
i have the same one. When you did, i'd like to ask you for the solution. 
When you didn't , try unplug the network cable from the switch. After 
them this "delaying" problem will not occur. It sounds like a  madness, 
butit works. Of course you can't print, but the dialog box opens 
immediately.  Where is then the problem?

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


[Samba] winbind log querstion.

2004-10-21 Thread Falk
Hi, I searched the archives and found alot of questions about this subject
but not any answers?
Maybe I searched to little, anyway here comes the question.

I have 2 log issues in the winbind log that I cant figure out.

[2004/10/21 09:22:51, 1] libsmb/clikrb5.c:ads_krb5_mk_req(313)
  krb5_cc_get_principal failed (No credentials cache found)

[2004/10/21 10:17:02, 1] nsswitch/winbindd_group.c:winbindd_getgroups(1059)
  user 'root' does not exist

I run debian 3.1 vanilla packets, no own compiled source...

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


Re: [Samba] Re: Samba as PDC - Can't get user profiles to save properly

2004-10-21 Thread Felix Knoblach
Hi Erik,
let me first thank you for your reply. I at first had an problem with 
permissions here that prevented my logon.bat from beeing executed (the 
directory it was in missed an X to be readable my the group "users"), 
but this still does not fix the profiles problem... I think the 
permissions there should be right:

pdc:/samba/profile# ls -la
drwxrwx---   14 root users4096 Oct 12 08:57 .
drwxrwx---5 root users4096 May 13 13:33 ..
drwxr-x---   13 felixusers4096 Oct 20 14:09 felix
pdc:/samba/profile#
pdc:/samba/profile/felix# ls -la
total 272
drwxr-x---   13 felixusers4096 Oct 20 14:09 .
drwxrwx---   14 root users4096 Oct 12 08:57 ..
drwxrwxrwx4 felixusers4096 Oct 12 09:15 Anwendungsdaten
drwxrwxrwx2 felixusers4096 Oct 20 10:22 Cookies
drwxrwxrwx2 felixusers4096 Oct 20 14:09 Desktop
drwxrwxrwx2 felixusers4096 Oct 12 09:15 Druckumgebung
drwxrwxrwx3 felixusers4096 Oct 12 09:15 Eigene Dateien
drwxrwxrwx4 felixusers4096 Oct 12 09:15 Favoriten
-rwxrw-rw-1 felixusers  212992 Oct 20 14:10 NTUSER.DAT
drwxrwxrwx2 felixusers4096 Oct 12 09:15 Netzwerkumgebung
drwxrwxrwx2 felixusers4096 Oct 12 09:15 Recent
drwxrwxrwx2 felixusers4096 Oct 12 09:15 SendTo
drwxrwxrwx3 felixusers4096 Oct 12 09:15 Startmen??
drwxrwxrwx2 felixusers4096 Oct 12 09:15 Vorlagen
-rwxrw-rw-1 felixusers1024 Oct 20 14:10 ntuser.dat.LOG
-rw-rw-rw-1 felixusers 192 Oct 20 14:09 ntuser.ini
pdc:/samba/profile/felix#
If I change the owner of this felix directory to someone else and log on 
with my 2k machine, Windows actually displays some error message that 
goes like
"Das servergespeicherte Benutzerprofil wurde nicht geladen. Sie werden 
mit einem lokalen ..."
So at least he is trying to use the right directory. Yet I have still no 
idea why I can't change things like the active desktop (I switch it on, 
press ok, reopen the window and it's switched off already again) at all.

ACLs might be the next step, but first I need to get those user profiles 
to work somehow. :)

Greetings from Munich
Felix
P.S.: Mac, there's an old ATI card in the 2k machine, so the problem 
should'nt be because of an NVIDIA driver. But thanks for your suggestion. :)


Hi Felix,
your problem sounds familiar to me. Please check the permission in your 
profile directory.
Each active domain user needs a seperate directory with 750 as 
permission and the owner has to be
the domain user, e.g. "drwxr-x--- test users  test". You also need 
the acl support to save the
extended file attributes of Win2k like security permissions. The acl's 
are not necessary to solve
your profiles problem.
If you use acls please make sure that your filesystem also support 
acl's. That's take me a while :-)

bye Erik
--On Wednesday, October 20, 2004 01:12:33 PM +0100 Mac <[EMAIL PROTECTED]> 
wrote:

Date: Tue, 19 Oct 2004 08:21:36 +0200
From: Felix Knoblach <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Samba] Re: Samba as PDC - Can't get user profiles to save
properly
Hi,
I'm still sitting fighting with this problem here I mentioned a little
while ago.
I'm running desperate on a problem with my windows user profiles here,
searched the net and read the docus alot but still no luck.
I've got an running Samba domain, an existing windows 2000 machine can
log into the domain properly. Furthermore, a test account is made
aswell, and the 2k machine is able to log in with that account. Now, my
problem is: When I try to change windows settings (like switch active
desktop to "on") or delete/rename icons from my desktop, log out and in
again, all changes are undone like they've been not saved on the
server.  But if I create new icons on the desktop and relog, those are
still there.

This doesn't sound quite like the problem I had, but it's work checking.
This all starts here:-
http://lists.samba.org/archive/samba/2004-April/084023.html
and ends here:-
http://lists.samba.org/archive/samba/2004-September/092379.html
and basically it's to do with a bug in the Nvidia Display Driver
Service.  You can either disable the service ('startup - Manual') or
upgrade the drivers to a version with the fix in them.
If this issue doesn't affect you, then I'm sorry.
   Mac
  Assistant Systems Adminstrator @nibsc.ac.uk
[EMAIL PROTECTED]
   Work: +44 1707 641565  Everything else: +44 7956 237670
(anytime) --
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

---
Erik Pagel, Systemadministration
ZBH Zentrum fuer Bioinformatik Hamburg
Universitaet Hamburg
Bundesstrasse 43
20146 Hamburg, Germany  


--
**
Feli

[Samba] ldap passwdsync = yes bug

2004-10-21 Thread ds_shadof
Hello samba,
 If i change user password via smbpasswd then attribute userPassword is synced
 If i change user password via usrmgr.exe then attribute userPassword not synced
  

-- 
Best regards,
 ds_shadof mailto:[EMAIL PROTECTED]

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


[Samba] can'find sid

2004-10-21 Thread lderuaz
Hello,

My samba version is 3.0.2a running on RHES 3 servers.

i am using samba, and in particular winbind to validate that my squid users
(authenticated with NTLM) belong to specific AD groups on a W2K server.
Everything seems to work fine, except that the logfile for winbind if full of
lines such as :

nsswitch/winbindd_util.c:winbindd_lookup_name_by_sid(429)
  Can't find domain from sid

Is it just a warning, or is there something to modify in the configuration ?

Thanks by 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 + (LDAP + Kerberos V)

2004-10-21 Thread Tarjei Huse
Hi,
> >>
> >> You can read more about it at:
> >> https://sec.miljovern.no/bin/view/Info/HeimdalKerberosSambaAndOpenLdap
> >>

I would be very happy for any input and suggestions to the howto.

Tarjei

> >>
> >>> Now, assuming the worst and samba is incapable of handling kerberos 
> >>> tickets, and assuming i manage to handle tickets in ldap itself 
> >>> I can authenticate LDAP Sambe users of Kerberos without having to 
> >>> keep a synced password db correct?
> >>>
> >>> -Matt
> >>
> >>
> >>
> >> Cheers
> >>
> >> Geza
> >>
> > yeah thats almost decent documentation for ldap + kerberos but says 
> > absolutley nothing about samba 3.
> >
> >
> That's very easy to explain, because if you follow it you will have your 
> kerberos using the Samba' MD4 password hash, and so all of your *nix and 
> windows machine will use the same password. However as Samba3 is able to 
> emulte an NT4 DC, Windows clients don't try, nor are succesfull in using 
> kerberos against it. So you can have something like in the following 
> ASCII graphic:
> ___ 
> ___ __
> |  |
> |   |
> |  |
> |  |>|   LDAP   
> |<--|Samba  |
> |  |
> |___|   |__|
> |   *nix|  
> ^ ^
> |  client   |  
> ___|___  __ |___
> |  |
> |   | 
> |  |
> |  |>|Heimdal 
> | |  Windows |
> |__|
> |__|  | 
> client   |
>  
>  
> 
> |__|
> 
> Hope this helps to clarify the situation in a pre-Samba4 world.
> 
> Cheers,
> 
> Geza
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


Mob: 920 63 413 

-- A Mathematician is a machine for turning coffee into theorems. - Paul Erdös
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Experience on using Samba with XP SP2

2004-10-21 Thread Walter Willmertinger
But why we have this big (annoying) difference with and without SP2?
Gerald (Jerry) Carter schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Walter Willmertinger wrote:
|
|
| rruegner schrieb:
|
|> Hi Walter,
|> relate to your answers i would say your win drivers arent very
|> compatibel to win xp sp2,
|> have you tried to get the printer directly connected to a win xp serv
|> pack2 machine using with the same drivers?
|
|
| the driver I use is the newest driver of kyocera. But anyway, maybe
| there is the problem.
| If I change the default printer to another printer, as an HP 
Laserjet 6L
| with MS windows driver, the dialogue comes much more quickly (5
| seconds). With the Kyocera-Mitas KM-2030 as standard printer, it takes
| 17 seconds to get the dialogue.

Could not be a bug just a chatty driver then.  The HP Laserjet
8150 PCL 6 driver is a lot like this as well.


cheers, jerry
- -
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBdo5nIR7qMdg1EfYRAok6AKCVKRYQsXbsVHF25/uzyNV9Qcv2vwCgvP2m
VPyLErkc0Q4CBqhbtHRLxpc=
=M3wB
-END PGP SIGNATURE-

--
Mit freundlichen Grüßen,
Dr. Walter Willmertinger
CONSYS Gesellschaft für Softwaretechnologie und Systementwicklung mbH
Dr. Walter Willmertinger
Landsberger Strasse 402   EMail: [EMAIL PROTECTED]
81241 MuenchenPhone: 089-589 789 0
Germany Fax: 089-589 789 99
WWW-Homepage: http://www.consys.de
So finden Sie zu uns: http://mail.map24.com/consys-muenchen
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba