Re: [gentoo-user] ldap samba pdc problem

2008-09-13 Thread raptor
When you call

$ net getlocalsid DOMAIN

I don't know if you have to add DOMAIN to your command,
Try simply whithout and see if it's work:

$ net getlocalsid

As I have to setup a PDC using openldap and samba for my work I have
re-wrote an article describing the whole setup I have done, perhaps you
could also find some usefull information here:

http://www.drakonix.fr/index.php?id=gentootab=21pid=20

And excuse me for my poor english :)

Hope it will help

Fred
 Hello,



 I'm trying to run ldap samba pdc, but have one problem.



 smbpassword -w password

 Setting stored password for cn=manager,dn=example,dn=net in secrets.tdb





 But when I'm trying this: net getlocalsid DOMAIN

 I'm getting this:



 [2008/09/13 14:26:38, 0] lib/smbldap.c:smbldap_connect_system(982)

   failed to bind to server ldap://127.0.0.1/ with
 dn=cn=manager,dn=example,dn=net Error: Invalid DN syntax

 invalid DN

 [2008/09/13 14:26:53, 0] utils/net.c:net_getlocalsid(651)

   Can't fetch domain SID for name: DOMAIN



 From smb.conf:

 ldap suffix = dc=example,dc=net

 ldap admin dn = cn=root,dn=example,dn=net

 ldap group suffix = ou=Groups

 ldap user suffix = ou=Users

 ldap machine suffix = ou=Computers

 ldap idmap suffix = ou=Idmap



 testparm /etc/samba/smb.conf

 Load smb config files from /etc/samba/smb.conf

 Processing section [netlogon]

 Processing section [profiles]

 Processing section [homes]

 Processing section [public docks]

 Loaded services file OK.

 Server role: ROLE_DOMAIN_PDC



 Arunas


 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.




-- 
http://www.drakonix.fr




Re: [gentoo-user] Trying to block third party ip address with iptables...

2008-09-13 Thread Raptor
 Hello,

 I am using shorewall on my local computer (the same I'm surfing the web
 with). My skills with iptables are not really good and my understanding
 of networking also has some holes in it... However, I'm trying to
 prevent firefox from accessing a third party site; I'm logging onto a
 site with firefox. With netstat I can see that besides the usual ip
 address belonging to the site another ip-address (not belonging to the
 original site) shows up. While trying to block the additional ip address
 with both iptables -A INPUT -s  -j DROP and iptables -A OUTPUT -d
  -j DROP it still sends a SYN request to this site. This makes
 firefox just sit there waiting for a time-out. How can I prevent firefox
 from accessing the other site, while still accessing the original one?

 Best regards

 Peter K


Couldn't you use squid as a proxy and squidguard for filtering the site
you want to access or block?
As an example if you access a web site which have link to advertisement
third party site, you could use squiguard to block the ad and let you
browse the content of the original website.

I know this approach doesn't use iptables but perhaps it could help you...


-- 
http://www.drakonix.fr




[gentoo-user] sylpheed-claws and GTK2+ ?

2005-05-24 Thread raptor
i see there is a port of sylpheed-claws to gtk2+, but dont see an ebuild for it 
?
Does anyone used this version, is it already functional ? do u have some ebuild 
?
Can it coexist with the older version ?

thanx alot in advance
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] firefox new window ? faster ?

2005-05-11 Thread raptor
anyone to have an idea how to make Firefox to open New-window faster.
it takes ages and uses CPU to 100% ..
This is the most frustating thing about Firefox for me..

tia

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] .ebuild from mod_bt ?

2005-04-28 Thread raptor
Anyone to know a .ebuild for mod_bt (torrent tracker)

mod_bt
http://freshmeat.net/projects/modbt/

-- 
gentoo-user@gentoo.org mailing list