Re: [Samba] Return AD User Info?

2005-09-03 Thread Robert Vangel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tony Kubinski wrote:
 
   I have a SLES9 server with which I'm using Samba/winbind to authenticate
 users from a Win2K AD server. The wbinfo -u and -g commands return all
 the Users and Groups that Samba can see in the domain. How can I retreive
 specific group information for a given AD user? For example, if there's
 a user
 user01 belonging to the group science-dept-users, how can I retrieve
 that
 type of group info from the AD schema???
 
 

If you use `net ads info user [username]' it should show the groups
[username] is a part of.

- --
Robert Vangel :: http://zilla.id.au

 * redflag networks, Network Operations  Management
 * [EMAIL PROTECTED]
 * +61 419 961 52

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDGmiqV63eDkW7v4cRAsFXAJwOHtxUg2I0i3m/Yi+xNjG817y9VQCfY29Q
j690zXv3rtrRuNGzwUThKKY=
=gDIh
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] net join echoes root password

2005-08-03 Thread Robert Vangel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Heinrich Rebehn wrote:
 Hi list,
 
 # net join
 asks for the root password (seems to be new).
 This is not a problem, but when i do:
 # ssh [EMAIL PROTECTED] net join mydomain
 the root password is echoed on the terminal.
 Is this expected behaviour? (I hope not).

This is because you aren't allocating a terminal in your ssh session.

Add `-t' after ssh to force allocation of one, and it will work as-per
normal.

 
 Regards,
 
 Heinrich Rebehn
 
 University of Bremen
 Physics / Electrical and Electronics Engineering
 - Department of Telecommunications -
 
 Phone : +49/421/218-4664
 Fax   :-3341

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFC8GSDV63eDkW7v4cRAg8nAKCL7a8OAdzr/OSdBjmDaiXsU2Ke7gCggVHu
YCkM6teaoA2h8sDMtfohiAI=
=Amgu
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] SWAT login fails

2005-06-30 Thread Robert Vangel

Jared Wiltshire wrote:

Hi,

I'm a linux newbie so be nice.

I have recently installed a Smoothwall Express 2 firewall with fixes7, and 
am trying to get a Samba server to run on this machine.


I compiled the lastest stable release of samba on this machine and it seemed 
to go fine. I then compiled xinetd and configured the xinetd.conf file for 
SWAT.


Using a putty SSH session I ran the the command xinetd -d to start xinetd 
and therefore SWAT. I think this is how it works. (BTW, how do I run xinetd 
in the background?)


The problem is that when I enter http://hostname:901 into my browser and try 
to login with my root username and password the login doesnt work. The login 
box just keeps popping back up.


If someone could help me out with this it would be great. Thanks.

- Jared Wiltshire


swat uses the samba usernames, so you first need to issue `smbpasswd -a 
root' if you haven't done so already.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Why am I getting these from the samba mailing list

2005-06-15 Thread Robert Vangel

Dominic Iadicicco wrote:
Can someone tell me why I get on of these every once and a while.  My 
 emails are small.





Perhaps because the email you sent is bigger than 64K?



-- Forwarded message --
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Jun 15, 2005 8:26 AM
Subject: Your message to samba awaits moderator approval
To: [EMAIL PROTECTED]


Your mail to 'samba' with the subject

Re: [Samba] Domain logon problem with w2k client on a Samba-3 PDC

Is being held until the list moderator can review it for approval.

The reason it is being held:

Message body is too big: 66968 bytes with a limit of 64 KB

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


https://lists.samba.org/mailman/confirm/samba/26a8818b8d1c98680fab962ec76600c3691a6173


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

Re: [Samba] Problem joining a domain using ads

2005-06-11 Thread Robert Vangel

Jochen Kaechelin wrote:

server: ms 2003 with ads
client: debian 3.1/samba 3.0.14

smb.conf:


[snip]


krb5.conf:


[snip]


kinit [EMAIL PROTECTED] works with no error messages.

smbd -b | grep KRB shows:


[snip]


net ads info shows:


[snip]


net ads status -Ujkt shows:


[snip]



net ads join -U jkt shows:

[2005/06/11 11:04:44, 0] libads/ldap.c:ads_add_machine_acct(1405)
  ads_add_machine_acct: Host account for laptopjkt already exists - 
modifying old account

[2005/06/11 11:04:44, 0] libads/ldap.c:ads_join_realm(1763)
  ads_join_realm: ads_add_machine_acct failed (laptopjkt): 
Insufficient access

ads_join_realm: Insufficient access


what's wrong???



I'm not sure on the actual problem itself, but can you delete 
`laptopjkt' from the Computers container and try again? Are you sure 
that the jkt user has add computer priviledges. Can you try with 
Administrator?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] W2K printer problem

2005-06-09 Thread Robert Vangel

Joe Cipale wrote:

I am getting the following prblem from my Winblows printer.

Using the CUPS printer Config tool, the printer can be setup as a 
smb://host_name/printer


When I attempt to send a test page, I get the following message:
Description: Brother LaserJet
Location: royal
Printer State: processing, accepting jobs.
Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: 
Connection failed with error NT_STATUS_ACCESS_DENIED

Device URI: smb://royal/lsj

I have the printer setup to accept sharing on the WIndows host(royal),
I have the permissions set to allow everyone to print/manage 
printers/print jobs


Afaik, `Everyone' in Windows permissions doesn't include Anonymous. Try 
adding that in there as well.




This is a small, 3 workstation network at home. Nothing fancy. This is 
the one
item that CONTINUES to drive me up the g**damn wall (printing to 
windows...)


A wee bit of help, please?

Joe



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

Re: [Samba] performance on small files transfers

2005-05-27 Thread Robert Vangel

John H Terpstra wrote:

On Friday 27 May 2005 11:41, kxsq wrote:


Hi all,
 I'm confused of small files (no bigger than 50k )
transfers speed through samba,which is very slow on
my machine. Bellow is a real case,

-- SuSE professional 9.2, kernel 2.6.11,Samba 3.0.14a,reiserfs
-- Dual AMD Opteron,4G mem,Giga byte LAN
-- 2 raid 5 make up of 16 SATA hard disks
-- set readhead to 1024

I tested raids speed using bonnie++ and get 450 Mbytes/s
at 16GB files measure.So I believe the raid is not the
bottleneck.I wrote a script to get 200,000 small files no
more than 50K,totally size 8G.When I wrote these small
files to SAMBA server and get a speed about 1.5 Mbyte/s.
And the speed hit 8 Mbytes/s when these small files
copied from one raid to another locally.

There must be misconfigured somewhere,but I don't where.
Can anybody give me some tips?



Please refer to chapter 32 of the book, The Official Samba-3 HOWTO and 
Reference Guide (aka. Samba-HOWTO-Collection). You can obtain a PDF of this 
book from:


http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf


- John T.


I'm confused.. Chapter 32 is for upgrading from Samba 2.x to 3.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] performance on small files transfers

2005-05-27 Thread Robert Vangel

John H Terpstra wrote:

I'm confused.. Chapter 32 is for upgrading from Samba 2.x to 3.


Did you freshly download this, or did you assume? I will send you under 
seperate cover, off-list, a copy of the currently generated PDF.


- John T.


Sorry, I was looking at the version included with the samba-doc debian 
sid package.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] How to force XP to use an unqualified username?

2005-05-25 Thread Robert Vangel

Mike Brodbelt wrote:

Hi,

I'm trying to map a share to a samba server from an XP workstation. The
Samba server is a domain member, and the share in question is set up for
guest access.


From a linux box, I can run smbclient -W DOMAIN \\server\share, and it

prompts for a password. I hit enter, and it logs in as anonymous.
Looking at a packet trace I see it try to log in as DOMAIN\username
(where username is just my login to the Linux machine) which fails, then
anonymous, which works fine.


From an XP box, logged on as *local* Administrator, but joined to the

DOMAIN, I do:-

net use k: \\server\share /user:anonymous

This fails, and a packet trace shows the damn thing insists on trying to
connect as MACHINE\anonymous. Any idea how I can force it to connect
without the netbios name of the machine stuck on the front?

Mike.


I don't know about actually omitting the netbios name altogther, but you 
can try `net use k: \\server\share /user:domain\anonymous'
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba